Value returns empty string or the value of parameter name if it is present in ps.
(name string)
| 158 | |
| 159 | // Value returns empty string or the value of parameter name if it is present in ps. |
| 160 | func (ps *ParameterSet) Value(name string) string { |
| 161 | value, _ := ps.Get(name) |
| 162 | return value |
| 163 | } |
| 164 | |
| 165 | func (ps *ParameterSet) String() string { |
| 166 | keys := make([]string, 0, len(ps.values)) |