| 10 | ) |
| 11 | |
| 12 | type Env struct { |
| 13 | Embed |
| 14 | Ambiguous string |
| 15 | Any any |
| 16 | Bool bool |
| 17 | Float float64 |
| 18 | Int64 int64 |
| 19 | Int32 int32 |
| 20 | Int, One, Two int |
| 21 | Uint32 uint32 |
| 22 | Uint64 uint64 |
| 23 | Float32 float32 |
| 24 | Float64 float64 |
| 25 | String string |
| 26 | BoolPtr *bool |
| 27 | FloatPtr *float64 |
| 28 | IntPtr *int |
| 29 | IntPtrPtr **int |
| 30 | StringPtr *string |
| 31 | Foo Foo |
| 32 | Abstract Abstract |
| 33 | ArrayOfAny []any |
| 34 | ArrayOfInt []int |
| 35 | ArrayOfString []string |
| 36 | ArrayOfFoo []*Foo |
| 37 | MapOfFoo map[string]Foo |
| 38 | MapOfAny map[string]any |
| 39 | MapIntAny map[int]string |
| 40 | FuncParam func(_ bool, _ int, _ string) bool |
| 41 | FuncParamAny func(_ any) bool |
| 42 | FuncTooManyReturns func() (int, int, error) |
| 43 | FuncNamed MyFunc |
| 44 | NilAny any |
| 45 | NilInt *int |
| 46 | NilFn func() |
| 47 | NilStruct *Foo |
| 48 | NilSlice []any |
| 49 | Variadic func(_ int, _ ...int) bool |
| 50 | Fast func(...any) any |
| 51 | Time time.Time |
| 52 | TimePlusDay time.Time |
| 53 | Duration time.Duration |
| 54 | } |
| 55 | |
| 56 | func (p Env) FuncFoo(_ Foo) int { |
| 57 | return 0 |
nothing calls this directly
no outgoing calls
no test coverage detected