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.
func CopyWithReplacements ¶
func CopyWithReplacements(src interface{}, replacementsFunc func(string) string, replaceIn ...string) interface{}
CopyWithReplacements does deep copy of the object and performs string substitution for the string fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.