MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / AllOption

Function AllOption

model/option.go:19–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func AllOption() ([]*Option, error) {
20 var options []*Option
21 var err error
22 err = DB.Find(&options).Error
23 return options, err
24}
25
26func InitOptionMap() {
27 common.OptionMapRWMutex.Lock()

Callers 2

MigrateConsoleSettingFunction · 0.92
loadOptionsFromDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected