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
return errors.NewErrInvalidArgument(argument, "can not be empty")
}
if !ValidID(id) {
return errors.NewErrInvalidArgument(argument, "has wrong format. IDs can contain lowercase letters, numbers, dashes and underscores and should have a maximum length of 36")
}
return nil
}
// NotNilAndValid checks if the given interface is not nil AND validates it