summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/xanzy/go-gitlab/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/xanzy/go-gitlab/README.md')
-rw-r--r--vendor/github.com/xanzy/go-gitlab/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/xanzy/go-gitlab/README.md b/vendor/github.com/xanzy/go-gitlab/README.md
index ead2361fe3..da5cf7b09d 100644
--- a/vendor/github.com/xanzy/go-gitlab/README.md
+++ b/vendor/github.com/xanzy/go-gitlab/README.md
@@ -109,7 +109,7 @@ There are a few `With...` option functions that can be used to customize
the API client. For example, to set a custom base URL:
```go
-git, err := gitlab.NewClient("yourtokengoeshere", WithBaseURL("https://git.mydomain.com/api/v4"))
+git, err := gitlab.NewClient("yourtokengoeshere", gitlab.WithBaseURL("https://git.mydomain.com/api/v4"))
if err != nil {
log.Fatalf("Failed to create client: %v", err)
}