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

Function optionsWithDefaults

options.go:76–85  ·  view source on GitHub ↗
(opts []Option)

Source from the content-addressed store, hash-verified

74}
75
76func optionsWithDefaults(opts []Option) options {
77 var o options
78 o.provider = DefaultNameProvider()
79
80 for _, apply := range opts {
81 apply(&o)
82 }
83
84 return o
85}

Callers 4

GetMethod · 0.85
SetMethod · 0.85
GetForTokenFunction · 0.85
SetForTokenFunction · 0.85

Calls 1

DefaultNameProviderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…