CustomDoc accepts 2 preset properties "propA" and "propB", plus any number of extra properties. All values are strings.
| 18 | // |
| 19 | // All values are strings. |
| 20 | type CustomDoc struct { |
| 21 | a string |
| 22 | b string |
| 23 | c map[string]string |
| 24 | } |
| 25 | |
| 26 | // JSONLookup implements [jsonpointer.JSONPointable]. |
| 27 | func (d CustomDoc) JSONLookup(key string) (any, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected