Append adds a new parameter with the specified name, type and value.
(name string, typ params.Type, value params.Value, opts ...ParamOption)
| 174 | |
| 175 | // Append adds a new parameter with the specified name, type and value. |
| 176 | func (pars Params) Append(name string, typ params.Type, value params.Value, opts ...ParamOption) Params { |
| 177 | pars[name] = NewParam(name, typ, value, opts...) |
| 178 | return pars |
| 179 | } |
| 180 | |
| 181 | // AppendFromCapture adds a new parameter with the specified name, type and value from the cap state. |
| 182 | func (pars Params) AppendFromCapture(name string, typ params.Type, value params.Value, etype Type) Params { |
no test coverage detected