GetString returns the string value for the key in the given namespace. Because this is a mock implementation, and error will never be returned.
(ns, key string)
| 570 | // GetString returns the string value for the key in the given namespace. Because |
| 571 | // this is a mock implementation, and error will never be returned. |
| 572 | func (c *TestConfig) GetString(ns, key string) (string, error) { |
| 573 | nskey := nskey(ns, key) |
| 574 | return c.v.GetString(nskey), nil |
| 575 | } |
| 576 | |
| 577 | // GetInt returns the int value for the key in the given namespace. Because |
| 578 | // this is a mock implementation, and error will never be returned. |