reflect

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateType

type GenerateType = *rapid.Generator[reflect.Type]

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

Jump to

Keyboard shortcuts

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