Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/APIParkLab/APIPark
/ init
Function
init
resources/access/role.go:17–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
)
16
17
func
init() {
18
ts := make(
map
[string][]Role)
19
err := yaml.Unmarshal(roleData, &ts)
20
if
err != nil {
21
panic(err)
22
}
23
access.RoleAdd(ts)
24
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected