CopyValue copies a value from one option key to another.
(fromKey, toKey string)
| 172 | |
| 173 | // CopyValue copies a value from one option key to another. |
| 174 | func (o *Options) CopyValue(fromKey, toKey string) { |
| 175 | if v, ok := o.m[fromKey]; ok { |
| 176 | o.m[toKey] = v |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | // Has checks if an option key exists. |
| 181 | func (o *Options) Has(key string) bool { |
no outgoing calls