Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
77
func
(s *Order) Copy() *Order {
78
var
result = *s
79
return
&result
80
}
81
82
// Struct deep clone
83
func
(s *Order) Clone() *Order {
Callers
7
Allocate
Method · 0.45
Remove
Method · 0.45
Reserve
Method · 0.45
ReadBytes
Method · 0.45
Write
Method · 0.45
Receive
Method · 0.45
Receive
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected