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

Function WithNameProvider

options.go:66–70  ·  view source on GitHub ↗

WithNameProvider injects a custom [NameProvider] to resolve json names from go struct types.

(provider NameProvider)

Source from the content-addressed store, hash-verified

64
65// WithNameProvider injects a custom [NameProvider] to resolve json names from go struct types.
66func WithNameProvider(provider NameProvider) Option {
67 return func(o *options) {
68 o.provider = provider
69 }
70}
71
72type options struct {
73 provider NameProvider

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…