| 1 | package gotypes_testscip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/gotypes_test`/ |
| 2 | |
| 3 | import ( |
| 4 | "fmtscip-go gomod github.com/golang/go/src go1.18 fmt/" |
| 5 | |
| 6 | "github.com/mmcloughlin/avo/gotypesscip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/gotypes`/" |
| 7 | ) |
| 8 | |
| 9 | func ExampleParseSignaturescip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/gotypes_test`/ExampleParseSignature().() { |
| 10 | s, err := gotypesscip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/gotypes`/.ParseSignaturescip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/gotypes`/ParseSignature().("func(s string, n int) string") |
| 11 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.18 fmt/Println().(s) |
| 12 | fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.18 fmt/Println().(err) |
| 13 | // Output: |
| 14 | // (s string, n int) string |
| 15 | // <nil> |
| 16 | } |