Documentation ¶
Index ¶
- Variables
- type License
- func (*License) Descriptor() ([]byte, []int)deprecated
- func (x *License) GetLabel() string
- func (x *License) GetType() string
- func (*License) ProtoMessage()
- func (x *License) ProtoReflect() protoreflect.Message
- func (x *License) Reset()
- func (x *License) String() string
- func (m *License) Validate() error
- func (m *License) ValidateAll() error
- type LicenseMultiError
- type LicenseValidationError
- type USER_ACTIVITY_TYPE
- func (USER_ACTIVITY_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x USER_ACTIVITY_TYPE) Enum() *USER_ACTIVITY_TYPE
- func (USER_ACTIVITY_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x USER_ACTIVITY_TYPE) Number() protoreflect.EnumNumber
- func (x USER_ACTIVITY_TYPE) String() string
- func (USER_ACTIVITY_TYPE) Type() protoreflect.EnumType
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetDateofbirth() string
- func (x *User) GetFirstname() string
- func (x *User) GetHeight() string
- func (x *User) GetIdentifier() string
- func (x *User) GetJob() string
- func (x *User) GetJobGrade() int32
- func (x *User) GetJobGradeLabel() string
- func (x *User) GetJobLabel() string
- func (x *User) GetLastname() string
- func (x *User) GetLicenses() []*License
- func (x *User) GetPhoneNumber() string
- func (x *User) GetPlaytime() int32
- func (x *User) GetProps() *UserProps
- func (x *User) GetSex() string
- func (x *User) GetUserId() int32
- func (x *User) GetVisum() int32
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) SetJobGradeLabel(label string)
- func (x *User) SetJobLabel(label string)
- func (x *User) String() string
- func (x *User) UserShort() *UserShort
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserActivity
- func (*UserActivity) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivity) GetCreatedAt() *timestamp.Timestamp
- func (x *UserActivity) GetId() uint64
- func (x *UserActivity) GetKey() string
- func (x *UserActivity) GetNewValue() string
- func (x *UserActivity) GetOldValue() string
- func (x *UserActivity) GetReason() string
- func (x *UserActivity) GetSourceUser() *UserShort
- func (x *UserActivity) GetTargetUser() *UserShort
- func (x *UserActivity) GetType() USER_ACTIVITY_TYPE
- func (*UserActivity) ProtoMessage()
- func (x *UserActivity) ProtoReflect() protoreflect.Message
- func (x *UserActivity) Reset()
- func (x *UserActivity) String() string
- func (m *UserActivity) Validate() error
- func (m *UserActivity) ValidateAll() error
- type UserActivityMultiError
- type UserActivityValidationError
- func (e UserActivityValidationError) Cause() error
- func (e UserActivityValidationError) Error() string
- func (e UserActivityValidationError) ErrorName() string
- func (e UserActivityValidationError) Field() string
- func (e UserActivityValidationError) Key() bool
- func (e UserActivityValidationError) Reason() string
- type UserMultiError
- type UserProps
- func (*UserProps) Descriptor() ([]byte, []int)deprecated
- func (x *UserProps) GetJob() *jobs.Job
- func (x *UserProps) GetJobGrade() *jobs.JobGrade
- func (x *UserProps) GetJobGradeNumber() int32
- func (x *UserProps) GetJobName() string
- func (x *UserProps) GetOpenFines() uint64
- func (x *UserProps) GetTrafficInfractionPoints() uint64
- func (x *UserProps) GetUserId() int32
- func (x *UserProps) GetWanted() bool
- func (*UserProps) ProtoMessage()
- func (x *UserProps) ProtoReflect() protoreflect.Message
- func (x *UserProps) Reset()
- func (x *UserProps) String() string
- func (m *UserProps) Validate() error
- func (m *UserProps) ValidateAll() error
- type UserPropsMultiError
- type UserPropsValidationError
- type UserShort
- func (*UserShort) Descriptor() ([]byte, []int)deprecated
- func (x *UserShort) GetDateofbirth() string
- func (x *UserShort) GetFirstname() string
- func (x *UserShort) GetIdentifier() string
- func (x *UserShort) GetJob() string
- func (x *UserShort) GetJobGrade() int32
- func (x *UserShort) GetJobGradeLabel() string
- func (x *UserShort) GetJobLabel() string
- func (x *UserShort) GetLastname() string
- func (x *UserShort) GetUserId() int32
- func (*UserShort) ProtoMessage()
- func (x *UserShort) ProtoReflect() protoreflect.Message
- func (x *UserShort) Reset()
- func (x *UserShort) SetJobGradeLabel(label string)
- func (x *UserShort) SetJobLabel(label string)
- func (x *UserShort) String() string
- func (m *UserShort) Validate() error
- func (m *UserShort) ValidateAll() error
- type UserShortMultiError
- type UserShortValidationError
- type UserValidationError
Constants ¶
This section is empty.
Variables ¶
var ( USER_ACTIVITY_TYPE_name = map[int32]string{ 0: "CHANGED", 1: "MENTIONED", 2: "CREATED", } USER_ACTIVITY_TYPE_value = map[string]int32{ "CHANGED": 0, "MENTIONED": 1, "CREATED": 2, } )
Enum value maps for USER_ACTIVITY_TYPE.
var File_resources_users_users_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type License ¶
type License struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" alias:"type"` // @gotags: alias:"type" Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty" alias:"label"` // @gotags: alias:"label" // contains filtered or unexported fields }
func (*License) Descriptor
deprecated
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
func (*License) Validate ¶
Validate checks the field values on License with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*License) ValidateAll ¶
ValidateAll checks the field values on License with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LicenseMultiError, or nil if none found.
type LicenseMultiError ¶
type LicenseMultiError []error
LicenseMultiError is an error wrapping multiple validation errors returned by License.ValidateAll() if the designated constraints aren't met.
func (LicenseMultiError) AllErrors ¶
func (m LicenseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LicenseMultiError) Error ¶
func (m LicenseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LicenseValidationError ¶
type LicenseValidationError struct {
// contains filtered or unexported fields
}
LicenseValidationError is the validation error returned by License.Validate if the designated constraints aren't met.
func (LicenseValidationError) Cause ¶
func (e LicenseValidationError) Cause() error
Cause function returns cause value.
func (LicenseValidationError) Error ¶
func (e LicenseValidationError) Error() string
Error satisfies the builtin error interface
func (LicenseValidationError) ErrorName ¶
func (e LicenseValidationError) ErrorName() string
ErrorName returns error name.
func (LicenseValidationError) Field ¶
func (e LicenseValidationError) Field() string
Field function returns field value.
func (LicenseValidationError) Key ¶
func (e LicenseValidationError) Key() bool
Key function returns key value.
func (LicenseValidationError) Reason ¶
func (e LicenseValidationError) Reason() string
Reason function returns reason value.
type USER_ACTIVITY_TYPE ¶
type USER_ACTIVITY_TYPE int32
const ( USER_ACTIVITY_TYPE_CHANGED USER_ACTIVITY_TYPE = 0 USER_ACTIVITY_TYPE_MENTIONED USER_ACTIVITY_TYPE = 1 USER_ACTIVITY_TYPE_CREATED USER_ACTIVITY_TYPE = 2 )
func (USER_ACTIVITY_TYPE) Descriptor ¶
func (USER_ACTIVITY_TYPE) Descriptor() protoreflect.EnumDescriptor
func (USER_ACTIVITY_TYPE) Enum ¶
func (x USER_ACTIVITY_TYPE) Enum() *USER_ACTIVITY_TYPE
func (USER_ACTIVITY_TYPE) EnumDescriptor
deprecated
func (USER_ACTIVITY_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use USER_ACTIVITY_TYPE.Descriptor instead.
func (USER_ACTIVITY_TYPE) Number ¶
func (x USER_ACTIVITY_TYPE) Number() protoreflect.EnumNumber
func (USER_ACTIVITY_TYPE) String ¶
func (x USER_ACTIVITY_TYPE) String() string
func (USER_ACTIVITY_TYPE) Type ¶
func (USER_ACTIVITY_TYPE) Type() protoreflect.EnumType
type User ¶
type User struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"id"` // @gotags: alias:"id" Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty" alias:"identifier"` // @gotags: alias:"identifier" Job string `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" JobLabel *string `protobuf:"bytes,4,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"` // @gotags: alias:"job_label" JobGrade int32 `protobuf:"varint,5,opt,name=job_grade,json=jobGrade,proto3" json:"job_grade,omitempty" alias:"job_grade"` // @gotags: alias:"job_grade" JobGradeLabel *string `` // @gotags: alias:"job_grade_label" /* 132-byte string literal not displayed */ Firstname string `protobuf:"bytes,7,opt,name=firstname,proto3" json:"firstname,omitempty" alias:"firstname"` // @gotags: alias:"firstname" Lastname string `protobuf:"bytes,8,opt,name=lastname,proto3" json:"lastname,omitempty" alias:"lastname"` // @gotags: alias:"lastname" Dateofbirth string `protobuf:"bytes,9,opt,name=dateofbirth,proto3" json:"dateofbirth,omitempty" alias:"dateofbirth"` // @gotags: alias:"dateofbirth" Sex *string `protobuf:"bytes,10,opt,name=sex,proto3,oneof" json:"sex,omitempty" alias:"sex"` // @gotags: alias:"sex" Height *string `protobuf:"bytes,11,opt,name=height,proto3,oneof" json:"height,omitempty" alias:"height"` // @gotags: alias:"height" PhoneNumber *string `protobuf:"bytes,12,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty" alias:"phone_number"` // @gotags: alias:"phone_number" Visum *int32 `protobuf:"varint,13,opt,name=visum,proto3,oneof" json:"visum,omitempty" alias:"visum"` // @gotags: alias:"visum" Playtime *int32 `protobuf:"varint,14,opt,name=playtime,proto3,oneof" json:"playtime,omitempty" alias:"playtime"` // @gotags: alias:"playtime" Props *UserProps `protobuf:"bytes,15,opt,name=props,proto3" json:"props,omitempty" alias:"fivenet_user_props"` // @gotags: alias:"fivenet_user_props" Licenses []*License `protobuf:"bytes,16,rep,name=licenses,proto3" json:"licenses,omitempty" alias:"user_licenses"` // @gotags: alias:"user_licenses" // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetDateofbirth ¶
func (*User) GetFirstname ¶
func (*User) GetIdentifier ¶
func (*User) GetJobGrade ¶
func (*User) GetJobGradeLabel ¶
func (*User) GetJobLabel ¶
func (*User) GetLastname ¶
func (*User) GetLicenses ¶
func (*User) GetPhoneNumber ¶
func (*User) GetPlaytime ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) SetJobGradeLabel ¶
func (*User) SetJobLabel ¶
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserActivity ¶
type UserActivity struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"fivenet_user_activity.id"` // @gotags: alias:"fivenet_user_activity.id" Type USER_ACTIVITY_TYPE `` // @gotags: alias:"fivenet_user_activity.type" /* 137-byte string literal not displayed */ CreatedAt *timestamp.Timestamp `` // @gotags: alias:"fivenet_user_activity.created_at" /* 129-byte string literal not displayed */ SourceUser *UserShort `protobuf:"bytes,4,opt,name=source_user,json=sourceUser,proto3" json:"source_user,omitempty" alias:"source_user"` // @gotags: alias:"source_user" TargetUser *UserShort `protobuf:"bytes,5,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user" Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty" alias:"fivenet_user_activity.key"` // @gotags: alias:"fivenet_user_activity.key" OldValue string `protobuf:"bytes,7,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty" alias:"fivenet_user_activity.old_value"` // @gotags: alias:"fivenet_user_activity.old_value" NewValue string `protobuf:"bytes,8,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty" alias:"fivenet_user_activity.new_value"` // @gotags: alias:"fivenet_user_activity.new_value" Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty" alias:"fivenet_user_activity.reason"` // @gotags: alias:"fivenet_user_activity.reason" // contains filtered or unexported fields }
func (*UserActivity) Descriptor
deprecated
func (*UserActivity) Descriptor() ([]byte, []int)
Deprecated: Use UserActivity.ProtoReflect.Descriptor instead.
func (*UserActivity) GetCreatedAt ¶
func (x *UserActivity) GetCreatedAt() *timestamp.Timestamp
func (*UserActivity) GetId ¶
func (x *UserActivity) GetId() uint64
func (*UserActivity) GetKey ¶
func (x *UserActivity) GetKey() string
func (*UserActivity) GetNewValue ¶
func (x *UserActivity) GetNewValue() string
func (*UserActivity) GetOldValue ¶
func (x *UserActivity) GetOldValue() string
func (*UserActivity) GetReason ¶
func (x *UserActivity) GetReason() string
func (*UserActivity) GetSourceUser ¶
func (x *UserActivity) GetSourceUser() *UserShort
func (*UserActivity) GetTargetUser ¶
func (x *UserActivity) GetTargetUser() *UserShort
func (*UserActivity) GetType ¶
func (x *UserActivity) GetType() USER_ACTIVITY_TYPE
func (*UserActivity) ProtoMessage ¶
func (*UserActivity) ProtoMessage()
func (*UserActivity) ProtoReflect ¶
func (x *UserActivity) ProtoReflect() protoreflect.Message
func (*UserActivity) Reset ¶
func (x *UserActivity) Reset()
func (*UserActivity) String ¶
func (x *UserActivity) String() string
func (*UserActivity) Validate ¶
func (m *UserActivity) Validate() error
Validate checks the field values on UserActivity with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserActivity) ValidateAll ¶
func (m *UserActivity) ValidateAll() error
ValidateAll checks the field values on UserActivity with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserActivityMultiError, or nil if none found.
type UserActivityMultiError ¶
type UserActivityMultiError []error
UserActivityMultiError is an error wrapping multiple validation errors returned by UserActivity.ValidateAll() if the designated constraints aren't met.
func (UserActivityMultiError) AllErrors ¶
func (m UserActivityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserActivityMultiError) Error ¶
func (m UserActivityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserActivityValidationError ¶
type UserActivityValidationError struct {
// contains filtered or unexported fields
}
UserActivityValidationError is the validation error returned by UserActivity.Validate if the designated constraints aren't met.
func (UserActivityValidationError) Cause ¶
func (e UserActivityValidationError) Cause() error
Cause function returns cause value.
func (UserActivityValidationError) Error ¶
func (e UserActivityValidationError) Error() string
Error satisfies the builtin error interface
func (UserActivityValidationError) ErrorName ¶
func (e UserActivityValidationError) ErrorName() string
ErrorName returns error name.
func (UserActivityValidationError) Field ¶
func (e UserActivityValidationError) Field() string
Field function returns field value.
func (UserActivityValidationError) Key ¶
func (e UserActivityValidationError) Key() bool
Key function returns key value.
func (UserActivityValidationError) Reason ¶
func (e UserActivityValidationError) Reason() string
Reason function returns reason value.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserProps ¶
type UserProps struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"user_id"` // @gotags: alias:"user_id" Wanted *bool `protobuf:"varint,2,opt,name=wanted,proto3,oneof" json:"wanted,omitempty" alias:"wanted"` // @gotags: alias:"wanted" JobName *string `protobuf:"bytes,3,opt,name=job_name,json=jobName,proto3,oneof" json:"job_name,omitempty" alias:"job"` // @gotags: alias:"job" Job *jobs.Job `protobuf:"bytes,4,opt,name=job,proto3,oneof" json:"job,omitempty"` JobGradeNumber *int32 `` // @gotags: alias:"job_grade" /* 130-byte string literal not displayed */ JobGrade *jobs.JobGrade `protobuf:"bytes,6,opt,name=job_grade,json=jobGrade,proto3,oneof" json:"job_grade,omitempty"` TrafficInfractionPoints *uint64 `` // @gotags: alias:"traffic_infraction_points" /* 173-byte string literal not displayed */ OpenFines *uint64 `protobuf:"varint,8,opt,name=open_fines,json=openFines,proto3,oneof" json:"open_fines,omitempty" alias:"open_fines"` // @gotags: alias:"open_fines" // contains filtered or unexported fields }
func (*UserProps) Descriptor
deprecated
func (*UserProps) GetJobGrade ¶ added in v0.5.1
func (*UserProps) GetJobGradeNumber ¶ added in v0.5.1
func (*UserProps) GetJobName ¶
func (*UserProps) GetOpenFines ¶ added in v0.7.3
func (*UserProps) GetTrafficInfractionPoints ¶ added in v0.6.5
func (*UserProps) ProtoMessage ¶
func (*UserProps) ProtoMessage()
func (*UserProps) ProtoReflect ¶
func (x *UserProps) ProtoReflect() protoreflect.Message
func (*UserProps) Validate ¶
Validate checks the field values on UserProps with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserProps) ValidateAll ¶
ValidateAll checks the field values on UserProps with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserPropsMultiError, or nil if none found.
type UserPropsMultiError ¶
type UserPropsMultiError []error
UserPropsMultiError is an error wrapping multiple validation errors returned by UserProps.ValidateAll() if the designated constraints aren't met.
func (UserPropsMultiError) AllErrors ¶
func (m UserPropsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPropsMultiError) Error ¶
func (m UserPropsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPropsValidationError ¶
type UserPropsValidationError struct {
// contains filtered or unexported fields
}
UserPropsValidationError is the validation error returned by UserProps.Validate if the designated constraints aren't met.
func (UserPropsValidationError) Cause ¶
func (e UserPropsValidationError) Cause() error
Cause function returns cause value.
func (UserPropsValidationError) Error ¶
func (e UserPropsValidationError) Error() string
Error satisfies the builtin error interface
func (UserPropsValidationError) ErrorName ¶
func (e UserPropsValidationError) ErrorName() string
ErrorName returns error name.
func (UserPropsValidationError) Field ¶
func (e UserPropsValidationError) Field() string
Field function returns field value.
func (UserPropsValidationError) Key ¶
func (e UserPropsValidationError) Key() bool
Key function returns key value.
func (UserPropsValidationError) Reason ¶
func (e UserPropsValidationError) Reason() string
Reason function returns reason value.
type UserShort ¶
type UserShort struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"id"` // @gotags: alias:"id" Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty" alias:"identifier"` // @gotags: alias:"identifier" Job string `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" JobLabel *string `protobuf:"bytes,4,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"` // @gotags: alias:"job_label" JobGrade int32 `protobuf:"varint,5,opt,name=job_grade,json=jobGrade,proto3" json:"job_grade,omitempty" alias:"job_grade"` // @gotags: alias:"job_grade" JobGradeLabel *string `` // @gotags: alias:"job_grade_label" /* 132-byte string literal not displayed */ Firstname string `protobuf:"bytes,7,opt,name=firstname,proto3" json:"firstname,omitempty" alias:"firstname"` // @gotags: alias:"firstname" Lastname string `protobuf:"bytes,8,opt,name=lastname,proto3" json:"lastname,omitempty" alias:"lastname"` // @gotags: alias:"lastname" Dateofbirth string `protobuf:"bytes,9,opt,name=dateofbirth,proto3" json:"dateofbirth,omitempty" alias:"dateofbirth"` // @gotags: alias:"dateofbirth" // contains filtered or unexported fields }
func (*UserShort) Descriptor
deprecated
func (*UserShort) GetDateofbirth ¶ added in v0.7.3
func (*UserShort) GetFirstname ¶
func (*UserShort) GetIdentifier ¶
func (*UserShort) GetJobGrade ¶
func (*UserShort) GetJobGradeLabel ¶
func (*UserShort) GetJobLabel ¶
func (*UserShort) GetLastname ¶
func (*UserShort) ProtoMessage ¶
func (*UserShort) ProtoMessage()
func (*UserShort) ProtoReflect ¶
func (x *UserShort) ProtoReflect() protoreflect.Message
func (*UserShort) SetJobGradeLabel ¶
func (*UserShort) SetJobLabel ¶
func (*UserShort) Validate ¶
Validate checks the field values on UserShort with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserShort) ValidateAll ¶
ValidateAll checks the field values on UserShort with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserShortMultiError, or nil if none found.
type UserShortMultiError ¶
type UserShortMultiError []error
UserShortMultiError is an error wrapping multiple validation errors returned by UserShort.ValidateAll() if the designated constraints aren't met.
func (UserShortMultiError) AllErrors ¶
func (m UserShortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserShortMultiError) Error ¶
func (m UserShortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserShortValidationError ¶
type UserShortValidationError struct {
// contains filtered or unexported fields
}
UserShortValidationError is the validation error returned by UserShort.Validate if the designated constraints aren't met.
func (UserShortValidationError) Cause ¶
func (e UserShortValidationError) Cause() error
Cause function returns cause value.
func (UserShortValidationError) Error ¶
func (e UserShortValidationError) Error() string
Error satisfies the builtin error interface
func (UserShortValidationError) ErrorName ¶
func (e UserShortValidationError) ErrorName() string
ErrorName returns error name.
func (UserShortValidationError) Field ¶
func (e UserShortValidationError) Field() string
Field function returns field value.
func (UserShortValidationError) Key ¶
func (e UserShortValidationError) Key() bool
Key function returns key value.
func (UserShortValidationError) Reason ¶
func (e UserShortValidationError) Reason() string
Reason function returns reason value.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.