MCPcopy Create free account
hub / github.com/apache/casbin / String

Method String

config/config.go:209–211  ·  view source on GitHub ↗

String lookups up the value using the provided key and converts the value to a string.

(key string)

Source from the content-addressed store, hash-verified

207
208// String lookups up the value using the provided key and converts the value to a string.
209func (c *Config) String(key string) string {
210 return c.get(key)
211}
212
213// Strings lookups up the value using the provided key and converts the value to an array of string
214// by splitting the string by comma.

Callers 1

TestGetFunction · 0.95

Calls 1

getMethod · 0.95

Tested by 1

TestGetFunction · 0.76