---------------------------------------------------------------- Helper methods for unmarshaling JSON types that panic on errors ----------------------------------------------------------------
(err error)
| 115 | //---------------------------------------------------------------- |
| 116 | |
| 117 | func checkError(err error) { |
| 118 | if err != nil { |
| 119 | panic(&ArgumentError{err.Error()}) |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | func (p *Partial) MustSlice() []*Partial { |
| 124 | a, err := p.Slice() |
no test coverage detected