Documentation
¶
Overview ¶
Package copygen contains the setup information for copygen generated code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶ added in v0.3.2
Collection represents a type that holds collection field types.
type Container ¶
type Container struct {
I ifc
F func() int
}
Container represents a type that holds container field types.
type Copygen ¶
type Copygen interface {
NoMatchBasic(A Placeholder) (B Placeholder)
NoMatchBasicExternal(A *Placeholder) (A external.Placeholder, B *external.Placeholder, C bool)
Basic(bool) bool
BasicSimple(Placeholder) Placeholder
BasicPointer(Placeholder) *Placeholder
BasicPointerMulti(A *Placeholder) (A *Placeholder, B *Placeholder, C string)
BasicExternal(*external.Placeholder) external.Placeholder
BasicExternalMulti(*external.Placeholder) (external.Placeholder, *external.Placeholder)
NoMatchArraySimple([16]byte) Collection
Array([16]byte) [16]byte
ArraySimple(Arr [16]byte) *Collection
ArrayExternal([16]external.Placeholder) [16]external.Placeholder
ArrayComplex(Arr [16]map[byte]string) *complex.Collection
ArrayExternalComplex(Arr [16]map[*external.Collection]string) *complex.ComplexCollection
NoMatchSliceSimple([]string) Collection
Slice([]string) []string
SliceSimple(S []string) *Collection
SliceExternal([]external.Placeholder) []external.Placeholder
SliceComplex(S []map[string][16]int) *complex.Collection
SliceExternalComplex(S []map[string]func(*external.Collection) string) *complex.ComplexCollection
NoMatchMap(map[string]bool) Collection
Map(map[string]bool) map[string]bool
MapSimple(M map[string]bool) *Collection
MapExternal(map[string]external.Placeholder) map[string]external.Placeholder
// MapComplex(M map[string]interface{ Error() string }) *complex.Collection
MapExternalComplex(M map[*external.Collection]external.Placeholder) *complex.ComplexCollection
NoMatchChan(chan int) Collection
Chan(chan int) chan int
ChanSimple(C chan int) *Collection
ChanExternal(chan external.Placeholder) chan external.Placeholder
ChanComplex(C chan *[]int) *complex.Collection
ChanExternalComplex(C chan *[]external.Collection) complex.ComplexCollection
FuncNoMatch(func() int) Container
Func(func() int) func() int
FuncSimple(F func() int) *Container
FuncExternal(func(external.Placeholder) int) func(external.Placeholder) int
FuncComplex(F func([]string, uint64) *byte) *complex.Container
FuncExternalComplex(F func(external.Collection) []string) *complex.ComplexContainer
}
Copygen defines the functions that will be generated.
Click to show internal directories.
Click to hide internal directories.