MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / empty

Function empty

initialization.go:146–155  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

144}
145
146func empty(key string) *Access {
147 group, name := readKey(key)
148 return &Access{
149 Key: key,
150 Group: group,
151 Name: name,
152 Cname: unsetValue,
153 Desc: unsetValue,
154 }
155}
156func readKey(key string) (group string, name string) {
157 ls := strings.Split(key, ".")
158 if len(ls) != 2 {

Callers 1

doCheckFunction · 0.85

Calls 1

readKeyFunction · 0.85

Tested by

no test coverage detected