MCPcopy Index your code
hub / github.com/go-openapi/jsonpointer / CustomDoc

Struct CustomDoc

iface_example_test.go:20–24  ·  view source on GitHub ↗

CustomDoc accepts 2 preset properties "propA" and "propB", plus any number of extra properties. All values are strings.

Source from the content-addressed store, hash-verified

18//
19// All values are strings.
20type CustomDoc struct {
21 a string
22 b string
23 c map[string]string
24}
25
26// JSONLookup implements [jsonpointer.JSONPointable].
27func (d CustomDoc) JSONLookup(key string) (any, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected