MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / AttrValue

Struct AttrValue

internal/api/models.go:6–8  ·  view source on GitHub ↗

AttrValue is a JSON value that can be string, number, array, bool, or null.

Source from the content-addressed store, hash-verified

4
5// AttrValue is a JSON value that can be string, number, array, bool, or null.
6type AttrValue struct {
7 raw json.RawMessage
8}
9
10func (a *AttrValue) UnmarshalJSON(data []byte) error {
11 a.raw = data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected