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

Method Store

chapter10/listing01/listing01.go:48–51  ·  view source on GitHub ↗

Store knows how to store data into Pillar.

(d Data)

Source from the content-addressed store, hash-verified

46
47// Store knows how to store data into Pillar.
48func (Pillar) Store(d Data) error {
49 fmt.Println("Out:", d.Line)
50 return nil
51}
52
53// =============================================================================
54

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected