# Functions
No description provided by the author
performance: coping follow object 1000000 times cost: 2554 ms
sub := map[string]interface{}{ "suba": "string", "subb": 12345, "x": true, }
function:
a, e := DeepCopy(nil) a, e := DeepCopy([]string{"1", "2"}) a, e := DeepCopy(true) a, e := DeepCopy(123) a, e := DeepCopy(3.14) a, e := DeepCopy(map[string]interface{}{}) a, e := DeepCopy("123").
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: test it with
A: []interface{}{
{"name": "customHTTPProfile"},
{"name": "customTCPProfile"},
}
B: []interface{}{
{"name": "customTCPProfile"},
{"name": "customHTTPProfile"},
}
reflect.DeepEqual(SortIt(A), SortIt(B)) == true
*/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author