MCPcopy Create free account
hub / github.com/crawshaw/jsonfile / Data

Struct Data

jsonfile_test.go:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23func TestBasic(t *testing.T) {
24 t.Parallel()
25 type Data struct {
26 Name string
27 Friends []string
28 Ages map[string]int
29 }
30 want := Data{
31 Name: "Alice",
32 Friends: []string{"Bob", "Carol", "Dave"},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected