(key string)
| 420 | } |
| 421 | |
| 422 | func (kvs KeyValues) GetString(key string) string { |
| 423 | val := kvs.GetOptString(key) |
| 424 | if val != nil { |
| 425 | return *val |
| 426 | } |
| 427 | return "" |
| 428 | } |
| 429 | |
| 430 | func (kvs KeyValues) GetInt(key string) int { |
| 431 | for i := 0; i < len(kvs); i += 2 { |
no test coverage detected