(encoder ArrayEncoder)
| 58 | type StringSlice []string |
| 59 | |
| 60 | func (s StringSlice) MarshalLogArray(encoder ArrayEncoder) error { |
| 61 | for _, str := range s { |
| 62 | encoder.AppendString(str) |
| 63 | } |
| 64 | return nil |
| 65 | } |
| 66 | |
| 67 | func generateStringSlice(n int) StringSlice { |
| 68 | output := make(StringSlice, 0, n) |
nothing calls this directly
no test coverage detected