Documentation ¶
Index ¶
- type Abstract
- type Bar
- type Embed
- type EmbedEmbed
- type EmbedPointerEmbed
- type Env
- func (Env) Add(a, b int) int
- func (p Env) Func() int
- func (p Env) FuncFoo(_ Foo) int
- func (p Env) FuncInt(_ int) int
- func (p Env) FuncInt16(_ int16) int
- func (p Env) FuncInt32(_ int32) int
- func (p Env) FuncInt64(_ int64) int
- func (p Env) FuncInt8(_ float64) int
- func (p Env) FuncTyped(_ string) int
- func (p Env) FuncUint(_ uint) int
- func (p Env) FuncUint16(_ uint16) int
- func (p Env) FuncUint32(_ uint32) int
- func (p Env) FuncUint64(_ uint64) int
- func (p Env) FuncUint8(_ uint8) 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 Embed ¶
type Embed struct { EmbedEmbed *EmbedPointerEmbed EmbedString string }
func (Embed) EmbedMethod ¶
type EmbedEmbed ¶
type EmbedEmbed struct {
EmbedEmbedString string
}
type EmbedPointerEmbed ¶ added in v1.15.8
type EmbedPointerEmbed struct {
EmbedPointerEmbedInt int
}
func (EmbedPointerEmbed) EmbedPointerEmbedMethod ¶ added in v1.15.8
func (p EmbedPointerEmbed) EmbedPointerEmbedMethod(_ int) string
func (*EmbedPointerEmbed) EmbedPointerEmbedPointerReceiverMethod ¶ added in v1.15.8
func (p *EmbedPointerEmbed) EmbedPointerEmbedPointerReceiverMethod(_ int) 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) FuncUint16 ¶ added in v1.16.9
func (Env) FuncUint32 ¶ added in v1.16.9
func (Env) FuncUint64 ¶ added in v1.16.9
func (Env) NotStringStringerEqual ¶
func (Env) NotStringerStringEqual ¶
func (Env) NotStringerStringerEqual ¶
func (Env) StringerStringerEqual ¶
type Foo ¶
func (Foo) MethodWithArgs ¶
type MapStringIntEnv ¶
type MapStringStringEnv ¶
func (MapStringStringEnv) Split ¶
func (m MapStringStringEnv) Split(s, sep string) []string
type StringerPatcher ¶
type StringerPatcher struct{}
func (*StringerPatcher) Visit ¶
func (*StringerPatcher) Visit(node *ast.Node)
Click to show internal directories.
Click to hide internal directories.