// UnmarshalText makes xim.ID fit the encoding.TextUnmarshaler interface.
UnmarshalText makes xim.ID fit the encoding.TextUnmarshaler interface.
// UnmarshalText makes xim . ID fit the encoding . TextUnmarshaler interface .
func (receiver *ID) UnmarshalText(p []byte) error {
	if nil == receiver {
		return errNilReceiver
	}
	var serialized string = string(p)
	value, successful := unserialize(serialized)
	if !successful {
		return  errBadRequest
	}
	*receiver = something(value)
	return nil
}
func ( receiver * ID ) UnmarshalText ( p [ ] byte ) error { if nil == receiver { return errNilReceiver } var serialized string = string ( p ) value , successful := unserialize ( serialized ) if ! successful { return errBadRequest } * receiver = something ( value ) return nil }
UnmarshalText makes xim.ID fit the encoding.TextUnmarshaler interface.
UnmarshalText makes xim . ID fit the encoding . TextUnmarshaler interface .