MCPcopy Index your code
hub / github.com/apache/casbin / getKeySuffix

Function getKeySuffix

model/model.go:112–118  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

110}
111
112func getKeySuffix(i int) string {
113 if i == 1 {
114 return ""
115 }
116
117 return strconv.Itoa(i)
118}
119
120func loadSection(model Model, cfg config.ConfigInterface, sec string) {
121 i := 1

Callers 1

loadSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…