MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / Copy

Method Copy

projects/Go/proto/proto/Order.go:77–80  ·  view source on GitHub ↗

Struct shallow copy

()

Source from the content-addressed store, hash-verified

75
76// Struct shallow copy
77func (s *Order) Copy() *Order {
78 var result = *s
79 return &result
80}
81
82// Struct deep clone
83func (s *Order) Clone() *Order {

Callers 7

AllocateMethod · 0.45
RemoveMethod · 0.45
ReserveMethod · 0.45
ReadBytesMethod · 0.45
WriteMethod · 0.45
ReceiveMethod · 0.45
ReceiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected