Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶
func Copy(src interface{}) interface{}
Copy creates a deep copy of whatever is passed to it and returns the copy in an interface{}. The returned value will need to be asserted to the correct type. note: can't copy unexported field: https://stackoverflow.com/questions/38369350/how-to-clone-a-structure-with-unexported-field
Types ¶
Click to show internal directories.
Click to hide internal directories.