MCPcopy Create free account
hub / github.com/goinaction/code / main

Function main

chapter10/listing03/listing03.go:123–134  ·  view source on GitHub ↗

=============================================================================

()

Source from the content-addressed store, hash-verified

121// =============================================================================
122
123func main() {
124
125 // Initialize the system for use.
126 sys := System{
127 Xenia: Xenia{},
128 Pillar: Pillar{},
129 }
130
131 if err := Copy(&sys, 3); err != io.EOF {
132 fmt.Println(err)
133 }
134}

Callers

nothing calls this directly

Calls 1

CopyFunction · 0.70

Tested by

no test coverage detected