Documentation ¶
Index ¶
- type Abstract
- type Bar
- type Embed
- type EmbedEmbed
- type Env
- func (Env) Add(a, b int) int
- func (p Env) Func() int
- func (p Env) FuncFoo(_ Foo) int
- func (p Env) FuncTyped(_ string) int
- func (p Env) GetInt() int
- func (Env) NotStringStringerEqual(s string, f fmt.Stringer) bool
- func (Env) NotStringerStringEqual(f fmt.Stringer, s string) bool
- func (Env) NotStringerStringerEqual(f fmt.Stringer, g fmt.Stringer) bool
- func (Env) StringStringerEqual(s string, f fmt.Stringer) bool
- func (Env) StringerStringEqual(f fmt.Stringer, s string) bool
- func (Env) StringerStringerEqual(f fmt.Stringer, g fmt.Stringer) bool
- func (p Env) TimeEqualString(a time.Time, s string) bool
- type Foo
- type Is
- type MapStringIntEnv
- type MapStringStringEnv
- type MyFunc
- type StringerPatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbedEmbed ¶
type EmbedEmbed struct {
EmbedEmbedString string
}
type Env ¶
type Env struct { Embed Ambiguous string Any any Bool bool Float float64 Int64 int64 Int32 int32 Int, One, Two int Uint32 uint32 Uint64 uint64 Float32 float32 Float64 float64 String string BoolPtr *bool FloatPtr *float64 IntPtr *int IntPtrPtr **int StringPtr *string Foo Foo Abstract Abstract ArrayOfAny []any ArrayOfInt []int ArrayOfString []string ArrayOfFoo []*Foo MapOfFoo map[string]Foo MapOfAny map[string]any MapIntAny map[int]string FuncParam func(_ bool, _ int, _ string) bool FuncParamAny func(_ any) bool FuncTooManyReturns func() (int, int, error) FuncNamed MyFunc NilAny any NilInt *int NilFn func() NilStruct *Foo NilSlice []any Variadic func(_ int, _ ...int) bool Fast func(...any) any Time time.Time TimePlusDay time.Time Duration time.Duration }
func (Env) NotStringStringerEqual ¶ added in v1.14.0
func (Env) NotStringerStringEqual ¶ added in v1.14.0
func (Env) NotStringerStringerEqual ¶ added in v1.14.0
func (Env) StringStringerEqual ¶ added in v1.14.0
func (Env) StringerStringEqual ¶ added in v1.14.0
func (Env) StringerStringerEqual ¶ added in v1.14.0
type Foo ¶
func (Foo) MethodWithArgs ¶ added in v1.14.0
type MapStringIntEnv ¶ added in v1.14.0
type MapStringStringEnv ¶ added in v1.14.0
func (MapStringStringEnv) Split ¶ added in v1.14.0
func (m MapStringStringEnv) Split(s, sep string) []string
type StringerPatcher ¶ added in v1.14.0
type StringerPatcher struct{}
func (*StringerPatcher) Visit ¶ added in v1.14.0
func (*StringerPatcher) Visit(node *ast.Node)
Click to show internal directories.
Click to hide internal directories.