Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneFromType ¶
CloneFromType returns a new zeroed type of the given type value CONTRACT: typ must be returned from reflect.Value.Type().Elem()
func CloneFromValue ¶
func CloneFromValue(x interface{}) interface{}
CloneFromValue clones an arbitrary type and returns a new zeroed type of the instance, IT DOES NOT COPY THE CONTENTS. CONTRACT: must be a pointer
func GetPtrType ¶
GetPtrType returns the pointer type CONTRACT: ptr must be a pointer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.