Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepCopy ¶
DeepCopy clone object. can clone without same type
Example:
type Foo struct { Name string Value int } type Bar struct { Name string Value int } foo := &Foo { "Jason", 100} var bar Bar DeepCopy(&bar, foo) fmt.Printf("%+v\n", bar)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.