Documentation
¶
Index ¶
Constants ¶
View Source
const StructTemplate = `type {{.Name}}{{.Generics}} struct {{.Fields}}`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generic ¶
type Generic struct {
Label string
Type GenericType
Amount int
}
func NewGeneric ¶
func NewGeneric(label string, generticType GenericType, amount int) Generic
type GenericType ¶
type GenericType string
const ( Any GenericType = "any" Slice GenericType = "slice" Map GenericType = "map" Seq GenericType = "seq" Comparable GenericType = "comparable" )
Click to show internal directories.
Click to hide internal directories.