MCPcopy Index your code
hub / github.com/devfeel/mapper / NewSetting

Function NewSetting

mapper_setting.go:44–50  ·  view source on GitHub ↗

NewSetting create new setting with multi option

(opts ...Option)

Source from the content-addressed store, hash-verified

42
43// NewSetting create new setting with multi option
44func NewSetting(opts ...Option) *Setting {
45 cfg := getDefaultSetting()
46 for _, opt := range opts {
47 opt(cfg)
48 }
49 return cfg
50}
51
52// CTypeChecking set EnabledTypeChecking value
53//

Callers 2

TestNewSettingFunction · 0.85
NewMapperFunction · 0.85

Calls 1

getDefaultSettingFunction · 0.85

Tested by 1

TestNewSettingFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…