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

Method AddFeatures

common/env/env.go:210–213  ·  view source on GitHub ↗

AddFeatures appends one or more features to the config.

(feats ...*Feature)

Source from the content-addressed store, hash-verified

208
209// AddFeatures appends one or more features to the config.
210func (c *Config) AddFeatures(feats ...*Feature) *Config {
211 c.Features = append(c.Features, feats...)
212 return c
213}
214
215// AddLimits appends one or more limits to the config.
216func (c *Config) AddLimits(limits ...*Limit) *Config {

Callers 6

envProtoToConfigFunction · 0.95
ToConfigMethod · 0.95
TestEnvToConfigFunction · 0.80
TestEnvFromConfigFunction · 0.80
TestConfigFunction · 0.80
TestConfigValidateErrorsFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestEnvToConfigFunction · 0.64
TestEnvFromConfigFunction · 0.64
TestConfigFunction · 0.64
TestConfigValidateErrorsFunction · 0.64