Documentation
¶
Index ¶
- Constants
- Variables
- func Copy(src interface{}, dst interface{}) (err error)
- func FieldNames(s interface{}) []string
- func IsPtrSlice(v reflect.Value) bool
- func IsSliceOfPtr(slice reflect.Value) bool
- func IsZero(v reflect.Value) bool
- func SetField(ps reflect.Value, name string, value interface{}) error
- type Type
Constants ¶
View Source
const (
Ptr = reflect.Ptr
)
Alias a few consts
Variables ¶
View Source
var ( Append = reflect.Append AppendSlice = reflect.AppendSlice // ArrayOf = reflect.ArrayOf ChanOf = reflect.ChanOf CopySlice = reflect.Copy DeepEqual = reflect.DeepEqual // FuncOf = reflect.FuncOf Indirect = reflect.Indirect MakeChan = reflect.MakeChan MakeFunc = reflect.MakeFunc MakeMap = reflect.MakeMap MakeSlice = reflect.MakeSlice MapOf = reflect.MapOf New = reflect.New NewAt = reflect.NewAt PtrTo = reflect.PtrTo Select = reflect.Select SliceOf = reflect.SliceOf // StructOf = reflect.StructOf TypeOf = reflect.TypeOf ValueOf = reflect.ValueOf Zero = reflect.Zero )
Aliase reflect Funcs
Functions ¶
func FieldNames ¶
func FieldNames(s interface{}) []string
Types ¶
Click to show internal directories.
Click to hide internal directories.