Documentation ¶
Index ¶
- func CallWithGenericType(i InterfaceGenericType)
- func CallWithUint8(i InterfaceUint8)
- func ContainsAllSomeThing(slice []SomeThing, other []SomeThing) bool
- func ContainsAllString(slice []string, other []string) bool
- func ContainsSomeThing(slice []SomeThing, element SomeThing) bool
- func ContainsString(slice []string, element string) bool
- func NewInts() (*ObjInt, []ObjInt)
- func NewNumberTypes() (*ObjNumberType, []ObjNumberType)
- type CellInt
- type CellX
- type DigraphInt
- type DigraphNode
- type GenericType
- type InterfaceGenericType
- type InterfaceUint8
- type Node
- type NumberType
- type ObjInt
- type ObjNumberType
- type SomeThing
- type X
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallWithGenericType ¶
func CallWithGenericType(i InterfaceGenericType)
Call calls a method on an instance of generic interface. Targets github issue 49
func CallWithUint8 ¶
func CallWithUint8(i InterfaceUint8)
Call calls a method on an instance of generic interface. Targets github issue 49
func ContainsAllSomeThing ¶
ContainsAllSomeThing targets github issue 36
func ContainsAllString ¶
ContainsAllString targets github issue 36
func ContainsSomeThing ¶
func ContainsString ¶
func NewInts ¶
NewInts calls new on ObjInt and instantiates slice. Targets github issues #36 and #49
func NewNumberTypes ¶
func NewNumberTypes() (*ObjNumberType, []ObjNumberType)
NewNumberTypes calls new on ObjNumberType and instantiates slice. Targets github issues #36 and #49
Types ¶
type CellInt ¶
type CellInt struct {
Value int
}
CellInt is result of generating code via genny for type int
type DigraphInt ¶
type DigraphInt struct {
// contains filtered or unexported fields
}
func NewDigraphInt ¶
func NewDigraphInt() *DigraphInt
func (*DigraphInt) Add ¶
func (dig *DigraphInt) Add(n int)
func (*DigraphInt) Connect ¶
func (dig *DigraphInt) Connect(a, b int)
type DigraphNode ¶
type DigraphNode struct {
// contains filtered or unexported fields
}
func NewDigraphNode ¶
func NewDigraphNode() *DigraphNode
func (*DigraphNode) Add ¶
func (dig *DigraphNode) Add(n Node)
func (*DigraphNode) Connect ¶
func (dig *DigraphNode) Connect(a, b Node)
type GenericType ¶
type InterfaceGenericType ¶
type InterfaceGenericType interface {
DoSomthingGenericType()
}
type InterfaceUint8 ¶
type InterfaceUint8 interface {
DoSomthingUint8()
}
type ObjInt ¶
type ObjInt struct {
// contains filtered or unexported fields
}
ObjInt is the struct used for tests.
type ObjNumberType ¶
type ObjNumberType struct {
// contains filtered or unexported fields
}
ObjNumberType is the struct used for tests.
Click to show internal directories.
Click to hide internal directories.