You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var _regex_IdcrackUnitInfo_InstanceId = regexp.MustCompile(`^[0-9a-z]{13}$`)
func (this *IdcrackUnitInfo) Validate() error {
if !_regex_IdcrackUnitInfo_InstanceId.MatchString(this.InstanceId) {
return github_com_mwitkow_go_proto_validators.FieldError("InstanceId", fmt.Errorf(`value '%v' must be a string conforming to regex "^[0-9a-z]{13}$"`, this.InstanceId))
}
if this.UnitInfo != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.UnitInfo); err != nil {