SliceIntKey marshals the given []int s
(k string, s []int)
| 49 | |
| 50 | // SliceIntKey marshals the given []int s |
| 51 | func (enc *Encoder) SliceIntKey(k string, s []int) { |
| 52 | enc.ArrayKey(k, EncodeArrayFunc(func(enc *Encoder) { |
| 53 | for _, i := range s { |
| 54 | enc.Int(i) |
| 55 | } |
| 56 | })) |
| 57 | } |
| 58 | |
| 59 | // AddSliceFloat64 marshals the given []float64 s |
| 60 | func (enc *Encoder) AddSliceFloat64(s []float64) { |
no test coverage detected