MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / getJSONList

Function getJSONList

setting/console_setting/validation.go:53–60  ·  view source on GitHub ↗
(jsonStr string)

Source from the content-addressed store, hash-verified

51}
52
53func getJSONList(jsonStr string) []map[string]interface{} {
54 if jsonStr == "" {
55 return []map[string]interface{}{}
56 }
57 var list []map[string]interface{}
58 json.Unmarshal([]byte(jsonStr), &list)
59 return list
60}
61
62func ValidateConsoleSettings(settingsStr string, settingType string) error {
63 if settingsStr == "" {

Callers 4

GetApiInfoFunction · 0.85
GetAnnouncementsFunction · 0.85
GetFAQFunction · 0.85
GetUptimeKumaGroupsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected