GetIntValue get int value
()
| 54 | |
| 55 | // GetIntValue get int value |
| 56 | func (c *Config) GetIntValue() int { |
| 57 | if len(c.Value) == 0 { |
| 58 | log.Warnf("config value is empty, key: %s, value: %s", c.Key, c.Value) |
| 59 | } |
| 60 | return converter.StringToInt(c.Value) |
| 61 | } |
| 62 | |
| 63 | // GetArrayStringValue get array string value |
| 64 | func (c *Config) GetArrayStringValue() []string { |
no test coverage detected