(key string)
| 154 | } |
| 155 | } |
| 156 | func readKey(key string) (group string, name string) { |
| 157 | ls := strings.Split(key, ".") |
| 158 | if len(ls) != 2 { |
| 159 | log.Fatal("invalid access key:[%s]", key) |
| 160 | } |
| 161 | return ls[0], ls[1] |
| 162 | } |
| 163 | |
| 164 | func loadAccess() (map[string]*Access, int) { |
| 165 | confAccess := access.All() |
no outgoing calls
no test coverage detected