code: func (pTypeDef *TimestampTest) Validate() error {
  	if pTypeDef.Mytime.IsZero() {
  		return fmt.Errorf("TimestampTest: Missing required field: mytime")
  	}
  	return nil
  }
docs: //
  // Validate - checks for missing required fields, etc
  //