14 lines
387 B
Go
14 lines
387 B
Go
package umadump
|
|
|
|
type Never struct{}
|
|
|
|
func (Never) AppendText(b []byte) ([]byte, error) {
|
|
panic("umadump: attempt to encode value that should never exist")
|
|
}
|
|
func (Never) MarshalText() ([]byte, error) {
|
|
panic("umadump: attempt to encode value that should never exist")
|
|
}
|
|
func (Never) UnmarshalText(b []byte) error {
|
|
panic("umadump: attempt to decode value that should never exist")
|
|
}
|