xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.43k stars 961 forks source link

Add support for the project markdown uploads API #2058

Closed heidiberry closed 3 days ago

heidiberry commented 2 weeks ago

Fixes https://github.com/xanzy/go-gitlab/issues/2044

I wasn't entirely sure on how to do the upload function so I modelled it off generic_packages.go. I did find the gitlab.UploadRequest function later on though - should it use this instead?

RicePatrick commented 3 days ago

@heidiberry - Looks good to me!

✅ Follows gofmt ✅ Functions match order in GitLab API docs ✅ Pointers on request structs align to standards ✅ Comments included properly on all structs and functions with API doc links ✅ Tests written and pass

Approving for merge!