Documentation ¶
Index ¶
- type GenerateType
- func Array(maxDepth int) GenerateType
- func ArrayOf(typ GenerateType) GenerateType
- func Bool() GenerateType
- func Map(maxDepth int) GenerateType
- func MapOf(typ GenerateType) GenerateType
- func Null() GenerateType
- func Number() GenerateType
- func Primitive() GenerateType
- func Ptr(maxDepth int) GenerateType
- func PtrOf(typ GenerateType) GenerateType
- func String() GenerateType
- func Struct(maxDepth int) GenerateType
- func Type(maxDepth int) GenerateType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateType ¶
func Array ¶
func Array(maxDepth int) GenerateType
func ArrayOf ¶
func ArrayOf(typ GenerateType) GenerateType
func Bool ¶
func Bool() GenerateType
func Map ¶
func Map(maxDepth int) GenerateType
func MapOf ¶
func MapOf(typ GenerateType) GenerateType
func Null ¶
func Null() GenerateType
func Number ¶
func Number() GenerateType
func Primitive ¶
func Primitive() GenerateType
func Ptr ¶
func Ptr(maxDepth int) GenerateType
func PtrOf ¶
func PtrOf(typ GenerateType) GenerateType
Return a pointer to typ.
If typ is already a pointer, typ is returned as is.
func String ¶
func String() GenerateType
func Struct ¶
func Struct(maxDepth int) GenerateType
func Type ¶
func Type(maxDepth int) GenerateType
Click to show internal directories.
Click to hide internal directories.