-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use package path instead of name
Co-authored-by: Fernandez Ludovic <[email protected]>
- Loading branch information
1 parent
02e2cff
commit ac75b95
Showing
8 changed files
with
5,926 additions
and
1 deletion.
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
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,5 @@ | ||
package b | ||
|
||
func Hello() string { | ||
return "hello" | ||
} |
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,38 @@ | ||
package c | ||
|
||
import ( | ||
"bytes" | ||
"context" | ||
"time" | ||
|
||
"golang.org/x/mod/module" | ||
) | ||
|
||
type Pineapple interface { | ||
Hello(bar Water) string | ||
World() string | ||
Goo() (string, int, Water) | ||
Coo(context.Context, string, Water) Water | ||
} | ||
|
||
type Coconut interface { | ||
Boo(src *bytes.Buffer) time.Duration | ||
Doo(src time.Duration) time.Duration | ||
Foo(st Strawberry) string | ||
Goo(st string) Strawberry | ||
Hoo(string, int, Water) | ||
Joo(string, int, Water) (string, int) | ||
Koo(src string) (dst string) | ||
Loo(st string, values ...int) string | ||
Too(src string) time.Duration | ||
Voo(src *module.Version) time.Duration | ||
Yoo(st string) interface{} | ||
Zoo(st interface{}) string | ||
Moo(fn func(st, stban Strawberry) Pineapple) string | ||
} | ||
|
||
type Water struct{} | ||
|
||
type Strawberry interface { | ||
Bar(string) int | ||
} |
Oops, something went wrong.