We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All providers live in their own package, but many types also contain the provider name.
The result is code like this:
provider := messagebird.NewMessageBird(messagebird.MessageBirdConfig{ AccessKey: "YOUR_ACCESS_KEY", // ... })
I'd like to propose dropping these redundant prefixes in type names, which looks a lot cleaner:
provider := messagebird.New(messagebird.Config{ AccessKey: "YOUR_ACCESS_KEY", // ... })
The messagebird package is only an example - this applies to nearly all other providers.
messagebird
This is obviously a breaking change, so I'll set the milestone for this to v1.0.0.
v1.0.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
All providers live in their own package, but many types also contain the provider name.
The result is code like this:
I'd like to propose dropping these redundant prefixes in type names, which looks a lot cleaner:
The
messagebird
package is only an example - this applies to nearly all other providers.This is obviously a breaking change, so I'll set the milestone for this to
v1.0.0
.The text was updated successfully, but these errors were encountered: