()
| 25 | func (d *decodeGen) Method() Method { return Decode } |
| 26 | |
| 27 | func (d *decodeGen) needsField() { |
| 28 | if d.hasfield { |
| 29 | return |
| 30 | } |
| 31 | d.p.print("\nvar field []byte; _ = field") |
| 32 | d.hasfield = true |
| 33 | } |
| 34 | |
| 35 | func (d *decodeGen) Execute(p Elem, ctx Context) error { |
| 36 | d.ctx = &ctx |
no test coverage detected