Skip to content
New issue

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

Add type aliases to honour go compatibility promise #3500

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions balancer/v1api_aliases.go
@@ -0,0 +1,7 @@
package balancer

// These type aliases should be removed when this project reaches
// major version 2. They exist so we can stabilize the API on the
// correct names, whilst preserving the Go compatibility promise.

type PickOptions = PickInfo
8 changes: 8 additions & 0 deletions resolver/v1api_aliases.go
@@ -0,0 +1,8 @@
package resolver

// These type aliases should be removed when this project reaches
// major version 2. They exist so we can stabilize the API on the
// correct names, whilst preserving the Go compatibility promise.

type BuildOption = BuildOptions
type ResolveNowOption = ResolveNowOptions