1234567891011121314151617181920 |
- package runtime
- type Values map[string][]string
- func (v Values) GetOK(key string) (value []string, hasKey bool, hasValue bool) {
- value, hasKey = v[key]
- if !hasKey {
- return
- }
- if len(value) == 0 {
- return
- }
- hasValue = true
- return
- }
|