AddExtensions appends a set of extensions to the config.
(exts ...*Extension)
| 196 | |
| 197 | // AddExtensions appends a set of extensions to the config. |
| 198 | func (c *Config) AddExtensions(exts ...*Extension) *Config { |
| 199 | c.Extensions = append(c.Extensions, exts...) |
| 200 | return c |
| 201 | } |
| 202 | |
| 203 | // AddValidators appends one or more validators to the config. |
| 204 | func (c *Config) AddValidators(vals ...*Validator) *Config { |
no outgoing calls