xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.39k stars 947 forks source link

Deprecated Fields in README example #1945

Closed wcolburn closed 4 months ago

wcolburn commented 4 months ago

In both the README's example section and in examples/projects.go, "gitlab.CreateProjectOptions" has two deprecated fields: MergeRequestsEnabled and SnippetsEnabled.

I believe this should be updated so the example code is accurate and easy to use for new users.

svanharmelen commented 4 months ago

Feel free to make a PR to update the docs and example 👍🏻

vntw commented 4 months ago

This can be closed with the merge of #1949 I think