bugreports

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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

func ContainsAllSomeThing(slice []SomeThing, other []SomeThing) bool

ContainsAllSomeThing targets github issue 36

func ContainsAllString

func ContainsAllString(slice []string, other []string) bool

ContainsAllString targets github issue 36

func ContainsSomeThing

func ContainsSomeThing(slice []SomeThing, element SomeThing) bool

func ContainsString

func ContainsString(slice []string, element string) bool

func NewInts

func NewInts() (*ObjInt, []ObjInt)

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 CellX

type CellX struct {
	Value X
}

CellX is result of generating code via genny for type X

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 GenericType generic.Type

type InterfaceGenericType

type InterfaceGenericType interface {
	DoSomthingGenericType()
}

type InterfaceUint8

type InterfaceUint8 interface {
	DoSomthingUint8()
}

type Node

type Node generic.Type

type NumberType

type NumberType generic.Number

NumberType will be replaced in tests

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.

type SomeThing

type SomeThing generic.Type

type X

type X generic.Type

X is the type generic type used in tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL