commit f12fbfd432c9c3c4bde85f747db806a87501ae93
parent 636668e01e1a4427c52521cb4a8a92eb55a1a776
Author: francoispqt <francois@parquet.ninja>
Date: Sat, 23 Mar 2019 01:33:36 +0800
linting
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/encode_slice.go b/encode_slice.go
@@ -70,12 +70,12 @@ func (enc *Encoder) SliceFloat64(s []float64) {
}))
}
-// AddSliceFloat64Key marshals the given []string s
+// AddSliceFloat64Key marshals the given []float64 s
func (enc *Encoder) AddSliceFloat64Key(k string, s []float64) {
enc.SliceFloat64Key(k, s)
}
-// SliceFloat64Key marshals the given []string s
+// SliceFloat64Key marshals the given []float64 s
func (enc *Encoder) SliceFloat64Key(k string, s []float64) {
enc.ArrayKey(k, EncodeArrayFunc(func(enc *Encoder) {
for _, i := range s {