(enc ArrayEncoder)
| 51 | } |
| 52 | |
| 53 | func (u users) MarshalLogArray(enc ArrayEncoder) error { |
| 54 | if int(u) < 0 { |
| 55 | return errors.New("too few users") |
| 56 | } |
| 57 | for i := 0; i < int(u); i++ { |
| 58 | enc.AppendString("user") |
| 59 | } |
| 60 | return nil |
| 61 | } |
| 62 | |
| 63 | type obj struct { |
| 64 | kind int |
nothing calls this directly
no test coverage detected