Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
9
func
Example() {
10
keyer := key.New(
"module"
,
"foo"
)
11
fmt.Println(keyer.Spread())
12
// Output:
13
// [module foo]
14
}
15
16
func
ExampleWith() {
17
keyer := key.New(
"module"
,
"foo"
)
Callers
nothing calls this directly
Calls
2
New
Function · 0.92
Spread
Method · 0.65
Tested by
no test coverage detected