Documentation ¶
Overview ¶
Package flect is meant to work alongside go's `reflect` library, containing additional runtime reflection tools
Index ¶
- Constants
- func Fields(val reflect.Value) []reflect.StructField
- func IsA(i interface{}, kind reflect.Kind) bool
- func IsSlice(i interface{}) bool
- func IsZeroOfType(x interface{}) bool
- func NotA(i interface{}, kind reflect.Kind) bool
- func TagValues(t reflect.StructTag, name string) (value string, opts tagOpts, ok bool)
- func Values(structs ...interface{}) []reflect.Value
- func ValuesByTag(tag string, config groupConfig, structs ...interface{}) map[string]interface{}
Constants ¶
View Source
const ( WithZeros groupConfig = iota WithoutZeros )
Variables ¶
This section is empty.
Functions ¶
func IsZeroOfType ¶
func IsZeroOfType(x interface{}) bool
func ValuesByTag ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.