We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 636668e commit f12fbfdCopy full SHA for f12fbfd
encode_slice.go
@@ -70,12 +70,12 @@ func (enc *Encoder) SliceFloat64(s []float64) {
70
}))
71
}
72
73
-// AddSliceFloat64Key marshals the given []string s
+// AddSliceFloat64Key marshals the given []float64 s
74
func (enc *Encoder) AddSliceFloat64Key(k string, s []float64) {
75
enc.SliceFloat64Key(k, s)
76
77
78
-// SliceFloat64Key marshals the given []string s
+// SliceFloat64Key marshals the given []float64 s
79
func (enc *Encoder) SliceFloat64Key(k string, s []float64) {
80
enc.ArrayKey(k, EncodeArrayFunc(func(enc *Encoder) {
81
for _, i := range s {
0 commit comments