MCPcopy Create free account
hub / github.com/google/uuid / S

Struct S

json_test.go:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15func TestJSON(t *testing.T) {
16 type S struct {
17 ID1 UUID
18 ID2 UUID
19 }
20 s1 := S{ID1: testUUID}
21 data, err := json.Marshal(&s1)
22 if err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected