(s *Struct)
| 57 | } |
| 58 | |
| 59 | func (d *decodeGen) gStruct(s *Struct) { |
| 60 | if !d.p.ok() { |
| 61 | return |
| 62 | } |
| 63 | if s.AsTuple { |
| 64 | d.structAsTuple(s) |
| 65 | } else { |
| 66 | d.structAsMap(s) |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | func (d *decodeGen) assignAndCheck(name string, typ string) { |
| 71 | if !d.p.ok() { |
nothing calls this directly
no test coverage detected