summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/values.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/values.go b/pkg/values.go
index c85de01..d18b499 100644
--- a/pkg/values.go
+++ b/pkg/values.go
@@ -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 {