func (s *ShortDate) UnmarshalText(text []byte) error {
	time, err := time.Parse("2006-01-02", string(text))
	if err != nil {
		return err
	}
	*s = ShortDate{time}
	return nil
}
// UnmarshalText unmarshals text into a ShortDate
UnmarshalText unmarshals text into a ShortDate
// UnmarshalText unmarshals text into a ShortDate
func (s *ShortDate) UnmarshalText(text []byte) error {
	time, err := time.Parse("2006-01-02", string(text))
	if err != nil {
		return err
	}
	*s = ShortDate{time}
	return nil
}
func ( s * ShortDate ) UnmarshalText ( text [ ] byte ) error { time , err := time . Parse ( " " , string ( text ) ) if err != nil { return err } * s = ShortDate { time } return nil }
UnmarshalText unmarshals text into a ShortDate
UnmarshalText unmarshals text into a ShortDate