github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/signature/signature.go.golden (about) 1 -- AliasMap(a map[*Alias]StringAlias) (b map[*Alias]StringAlias, c map[*Alias]StringAlias)-signature -- 2 AliasMap(a map[*Alias]StringAlias) (b map[*Alias]StringAlias, c map[*Alias]StringAlias) 3 4 -- AliasSlice(a []*Alias) (b Alias)-signature -- 5 AliasSlice(a []*Alias) (b Alias) 6 7 -- Bar(float64, ...byte)-signature -- 8 Bar(float64, ...byte) 9 10 -- Foo(a string, b int) (c bool)-signature -- 11 Foo(a string, b int) (c bool) 12 13 -- GetAlias() Alias-signature -- 14 GetAlias() Alias 15 16 -- GetAliasPtr() *Alias-signature -- 17 GetAliasPtr() *Alias 18 19 -- Next(n int) []byte-signature -- 20 Next(n int) []byte 21 22 Next returns a slice containing the next n bytes from the buffer, advancing the buffer as if the bytes had been returned by Read. 23 24 -- OtherAliasMap(a map[Alias]OtherAlias, b map[Alias]OtherAlias) map[Alias]OtherAlias-signature -- 25 OtherAliasMap(a map[Alias]OtherAlias, b map[Alias]OtherAlias) map[Alias]OtherAlias 26 27 -- SetAliasSlice(a []*Alias)-signature -- 28 SetAliasSlice(a []*Alias) 29 30 -- SetOtherAliasMap(a map[*Alias]OtherAlias)-signature -- 31 SetOtherAliasMap(a map[*Alias]OtherAlias) 32 33 -- fn(hi string, there string) func(i int) rune-signature -- 34 fn(hi string, there string) func(i int) rune 35 36 -- foo(e *json.Decoder) (*big.Int, error)-signature -- 37 foo(e *json.Decoder) (*big.Int, error) 38 39 -- func(hi string, there string) func(i int) rune-signature -- 40 func(hi string, there string) func(i int) rune 41 42 -- func(i int) rune-signature -- 43 func(i int) rune 44 45 -- func(string, int) bool-signature -- 46 func(string, int) bool 47 48 -- make(t Type, size ...int) Type-signature -- 49 make(t Type, size ...int) Type 50 51 The make built-in function allocates and initializes an object of type slice, map, or chan (only). 52 53 -- myFunc(foo int) string-signature -- 54 myFunc(foo int) string 55 56 -- panic(v interface{})-signature -- 57 panic(v interface{}) 58 59 The panic built-in function stops normal execution of the current goroutine. 60 61 -- println(args ...Type)-signature -- 62 println(args ...Type) 63 64 The println built-in function formats its arguments in an implementation-specific way and writes the result to standard error. 65