MCPcopy Create free account
hub / github.com/gookit/config / LoadStrings

Function LoadStrings

load.go:323–325  ·  view source on GitHub ↗

LoadStrings load one or multi string

(format string, str string, more ...string)

Source from the content-addressed store, hash-verified

321
322// LoadStrings load one or multi string
323func LoadStrings(format string, str string, more ...string) error {
324 return dc.LoadStrings(format, str, more...)
325}
326
327// LoadStrings load data from source string content.
328func (c *Config) LoadStrings(format string, str string, more ...string) (err error) {

Callers 11

Example_exportConfigFunction · 0.85
BenchmarkGetFunction · 0.85
TestDefaultFunction · 0.85
TestLoadFromDirFunction · 0.85
TestConfig_GetValueFunction · 0.85
TestGetFunction · 0.85
TestIntFunction · 0.85
TestInt64Function · 0.85
TestFloatFunction · 0.85
TestStringFunction · 0.85
TestSetFunction · 0.85

Calls 1

LoadStringsMethod · 0.80

Tested by 11

Example_exportConfigFunction · 0.68
BenchmarkGetFunction · 0.68
TestDefaultFunction · 0.68
TestLoadFromDirFunction · 0.68
TestConfig_GetValueFunction · 0.68
TestGetFunction · 0.68
TestIntFunction · 0.68
TestInt64Function · 0.68
TestFloatFunction · 0.68
TestStringFunction · 0.68
TestSetFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…