MCPcopy
hub / github.com/gogf/gf / Interface

Interface Interface

internal/deepcopy/deepcopy.go:18–20  ·  view source on GitHub ↗

Interface for delegating copy process to type

Source from the content-addressed store, hash-verified

16
17// Interface for delegating copy process to type
18type Interface interface {
19 DeepCopy() any
20}
21
22// Copy creates a deep copy of whatever is passed to it and returns the copy
23// in an any. The returned value will need to be asserted to the

Callers 8

Test_StringFunction · 0.65
Test_InterfaceFunction · 0.65
Test_BoolFunction · 0.65
Test_AnyFunction · 0.65
Test_IntAnyMap_DeepCopyFunction · 0.65
DeepCopyMethod · 0.65
DeepCopyMethod · 0.65
Test_StrStrMap_DeepCopyFunction · 0.65

Implementers 15

Float32container/gtype/gtype_float32.go
Float64container/gtype/gtype_float64.go
Interfacecontainer/gtype/gtype_interface.go
Bytescontainer/gtype/gtype_bytes.go
Uintcontainer/gtype/gtype_uint.go
Uint32container/gtype/gtype_uint32.go
Int32container/gtype/gtype_int32.go
Uint64container/gtype/gtype_uint64.go
Stringcontainer/gtype/gtype_string.go
Int64container/gtype/gtype_int64.go
Bytecontainer/gtype/gtype_byte.go
Intcontainer/gtype/gtype_int.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…