MCPcopy Create free account
hub / github.com/cel-expr/cel-go / limitIDByName

Function limitIDByName

cel/options.go:140–147  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

138}
139
140func limitIDByName(name string) (limitID, bool) {
141 for k, v := range limitIDsToNames {
142 if v == name {
143 return k, true
144 }
145 }
146 return limitID(0), false
147}
148
149// EnvOption is a functional interface for configuring the environment.
150type EnvOption func(e *Env) (*Env, error)

Callers 1

configToEnvOptionsFunction · 0.85

Calls 1

limitIDTypeAlias · 0.85

Tested by

no test coverage detected