MCPcopy Create free account
hub / github.com/DoNewsCode/core / Example

Function Example

key/example_test.go:9–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func Example() {
10 keyer := key.New("module", "foo")
11 fmt.Println(keyer.Spread())
12 // Output:
13 // [module foo]
14}
15
16func ExampleWith() {
17 keyer := key.New("module", "foo")

Callers

nothing calls this directly

Calls 2

NewFunction · 0.92
SpreadMethod · 0.65

Tested by

no test coverage detected