Get returns the event parameter with specified name.
(name string)
| 197 | |
| 198 | // Get returns the event parameter with specified name. |
| 199 | func (pars Params) Get(name string) (*Param, error) { |
| 200 | return pars.findParam(name) |
| 201 | } |
| 202 | |
| 203 | // Len returns the number of parameters. |
| 204 | func (pars Params) Len() int { return len(pars) } |