Documentation ¶
Index ¶
- Constants
- func Addr(typ reflect.Type) uintptr
- func Eface(in any) *eface
- func FieldOf(elem reflect.Type) []reflect.StructField
- func Fields(elem reflect.Type) Chan.Chan[reflect.StructField]
- func IsEmbeddedMethod(v reflect.Method) bool
- func MethodFuncOf(value reflect.Value) map[string]any
- func MethodOf(value reflect.Value) map[reflect.Method]reflect.Value
- func Pointer(elem reflect.Type) []uintptr
- func Ptr(in any) uintptr
- func Slice(elem reflect.Type) []uintptr
- func SlicePtr(elem reflect.Type) []uintptr
- func Type(typ reflect.Type) uintptr
- func ValuesOf(in ...any) []reflect.Value
- func Zero(typ reflect.Type) reflect.Value
- type Alias
- type Aliases
- type ErrValue
- type Field
- type ForFields
- type Map
- type NoAlias
- type Option
- type Parser
- type PtrAlias
- type Reflect
- type SliceAlias
- type SlicePtrAlias
- type Tag
- type TagParser
- type Tags
- type Value
Constants ¶
View Source
const ( NOALIAS NoAlias = 1 << iota PTRALIAS PtrAlias = 1 << iota SLICEALIAS SliceAlias = 1 << iota SLICEPTRALIAS SlicePtrAlias = 1 << iota )
Variables ¶
This section is empty.
Functions ¶
func IsEmbeddedMethod ¶ added in v0.7.2
Types ¶
type Map ¶ added in v0.7.0
func (*Map[V]) MustGetType ¶ added in v0.7.0
type Reflect ¶
type Reflect[V any] struct { Alias func(elem reflect.Type) []uintptr Parse func(self *Reflect[V], field reflect.StructField, elem reflect.Type) V // contains filtered or unexported fields }
type SliceAlias ¶ added in v0.7.0
type SliceAlias int
type SlicePtrAlias ¶ added in v0.7.0
type SlicePtrAlias int
Click to show internal directories.
Click to hide internal directories.