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

Method Store

chapter10/listing02/listing02.go:60–63  ·  view source on GitHub ↗

Store knows how to store data into Pillar.

(d Data)

Source from the content-addressed store, hash-verified

58
59// Store knows how to store data into Pillar.
60func (Pillar) Store(d Data) error {
61 fmt.Println("Out:", d.Line)
62 return nil
63}
64
65// =============================================================================
66

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected