-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add type aliases; honour go compatibility promise
- Loading branch information
1 parent
a9601d9
commit 074f1d1
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |