trycourier/courier-go

option was removed from go packages

Closed this issue · 2 comments

Looking at the project I noticed that "github.com/trycourier/courier-go/v3/option" package is used for building client with options, however this package was removed in releases after v3.0.0
In v3.0.0 this package is still present :)
Could you please, change the docs or investigate why this package is missing. It feels like it's a breaking change for the user of the API. You didn't change API of client, but now it is not clear how to construct opts ...option.RequestOption parameter to call NewClient(opts ...option.RequestOption)
Since this package is ported from JS, I can't contribute directly to this repo(

@DimDimi4-and-fixiki thanks for filing the issue -- we'll get you updated code snippets that you should be able to use.

Thanks for the issue @DimDimi4-and-fixiki - this was resolved in the latest v3.0.6 release!