feat(gonf): support a GONF_HOST environment variable
This commit is contained in:
parent
4a254746de
commit
1a4192b5c9
4 changed files with 12 additions and 7 deletions
|
@ -65,13 +65,13 @@ type IntValue struct {
|
|||
}
|
||||
|
||||
func (i IntValue) Bytes() []byte {
|
||||
return []byte(fmt.Sprint(i.value))
|
||||
return []byte(strconv.Itoa(i.value))
|
||||
}
|
||||
func (i IntValue) Int() (int, error) {
|
||||
return i.value, nil
|
||||
}
|
||||
func (i IntValue) String() string {
|
||||
return fmt.Sprint(i.value)
|
||||
return strconv.Itoa(i.value)
|
||||
}
|
||||
|
||||
type StringsListValue struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue