nedpals / supabase-go

Unofficial Supabase client library for Go.
https://pkg.go.dev/github.com/nedpals/supabase-go
MIT License
362 stars 69 forks source link

Fixed comments for swaggo compatibility #29

Closed hkdb closed 8 months ago

hkdb commented 8 months ago

Swaggo/swag parsing throws the following error when using this package:

ParseComment error in file ~/go/pkg/mod/github.com/nedpals/supabase-go@v0.3.0/storage.go :missing required param comment parameters "id:  the id of the bucket"

The missing : after @param in some comments are causing this breakage.

I have added the colons and tested that it all works as expected.

Thanks!