SliceStringKey marshals the given []string s
(k string, s []string)
| 21 | |
| 22 | // SliceStringKey marshals the given []string s |
| 23 | func (enc *Encoder) SliceStringKey(k string, s []string) { |
| 24 | enc.ArrayKey(k, EncodeArrayFunc(func(enc *Encoder) { |
| 25 | for _, str := range s { |
| 26 | enc.String(str) |
| 27 | } |
| 28 | })) |
| 29 | } |
| 30 | |
| 31 | // AddSliceInt marshals the given []int s |
| 32 | func (enc *Encoder) AddSliceInt(s []int) { |
no test coverage detected