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

Method Store

chapter10/listing03/listing03.go:66–69  ·  view source on GitHub ↗

Store knows how to store data into Pillar.

(d Data)

Source from the content-addressed store, hash-verified

64
65// Store knows how to store data into Pillar.
66func (Pillar) Store(d Data) error {
67 fmt.Println("Out:", d.Line)
68 return nil
69}
70
71// =============================================================================
72

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected