Documentation
¶
Overview ¶
Package entities is a generated protocol buffer package.
It is generated from these files:
service/language/proto/entities/entities.proto
It has these top-level messages:
Skill Word Language
Index ¶
- Variables
- func DefaultDeleteLanguage(ctx context.Context, in *Language, db *gorm1.DB) error
- func DefaultDeleteLanguageSet(ctx context.Context, in []*Language, db *gorm1.DB) error
- func DefaultDeleteSkill(ctx context.Context, in *Skill, db *gorm1.DB) error
- func DefaultDeleteSkillSet(ctx context.Context, in []*Skill, db *gorm1.DB) error
- func DefaultDeleteWord(ctx context.Context, in *Word, db *gorm1.DB) error
- func DefaultDeleteWordSet(ctx context.Context, in []*Word, db *gorm1.DB) error
- type Language
- func DefaultApplyFieldMaskLanguage(ctx context.Context, patchee *Language, patcher *Language, ...) (*Language, error)
- func DefaultCreateLanguage(ctx context.Context, in *Language, db *gorm1.DB) (*Language, error)
- func DefaultListLanguage(ctx context.Context, db *gorm1.DB) ([]*Language, error)
- func DefaultPatchLanguage(ctx context.Context, in *Language, updateMask *field_mask1.FieldMask, ...) (*Language, error)
- func DefaultPatchSetLanguage(ctx context.Context, objects []*Language, updateMasks []*field_mask1.FieldMask, ...) ([]*Language, error)
- func DefaultReadLanguage(ctx context.Context, in *Language, db *gorm1.DB) (*Language, error)
- func DefaultStrictUpdateLanguage(ctx context.Context, in *Language, db *gorm1.DB) (*Language, error)
- func (*Language) Descriptor() ([]byte, []int)deprecated
- func (x *Language) GetAbbreviation() string
- func (x *Language) GetCreatedAt() *timestamp.Timestamp
- func (x *Language) GetDeletedAt() *timestamp.Timestamp
- func (x *Language) GetFlagSrc() string
- func (x *Language) GetId() *types.UUID
- func (x *Language) GetName() string
- func (x *Language) GetSkills() []*Skill
- func (x *Language) GetUpdatedAt() *timestamp.Timestamp
- func (*Language) ProtoMessage()
- func (x *Language) ProtoReflect() protoreflect.Message
- func (x *Language) Reset()
- func (x *Language) String() string
- func (m *Language) ToORM(ctx context.Context) (LanguageORM, error)
- func (m *Language) Validate() error
- type LanguageORM
- type LanguageORMWithAfterCreate_
- type LanguageORMWithAfterDeleteSet
- type LanguageORMWithAfterDelete_
- type LanguageORMWithAfterListFind
- type LanguageORMWithAfterReadFind
- type LanguageORMWithAfterStrictUpdateSave
- type LanguageORMWithBeforeCreate_
- type LanguageORMWithBeforeDeleteSet
- type LanguageORMWithBeforeDelete_
- type LanguageORMWithBeforeListApplyQuery
- type LanguageORMWithBeforeListFind
- type LanguageORMWithBeforeReadApplyQuery
- type LanguageORMWithBeforeReadFind
- type LanguageORMWithBeforeStrictUpdateCleanup
- type LanguageORMWithBeforeStrictUpdateSave
- type LanguageValidationError
- type LanguageWithAfterPatchSave
- type LanguageWithAfterToORM
- type LanguageWithAfterToPB
- type LanguageWithBeforePatchApplyFieldMask
- type LanguageWithBeforePatchRead
- type LanguageWithBeforePatchSave
- type LanguageWithBeforeToORM
- type LanguageWithBeforeToPB
- type Skill
- func DefaultApplyFieldMaskSkill(ctx context.Context, patchee *Skill, patcher *Skill, ...) (*Skill, error)
- func DefaultCreateSkill(ctx context.Context, in *Skill, db *gorm1.DB) (*Skill, error)
- func DefaultListSkill(ctx context.Context, db *gorm1.DB) ([]*Skill, error)
- func DefaultPatchSetSkill(ctx context.Context, objects []*Skill, updateMasks []*field_mask1.FieldMask, ...) ([]*Skill, error)
- func DefaultPatchSkill(ctx context.Context, in *Skill, updateMask *field_mask1.FieldMask, ...) (*Skill, error)
- func DefaultReadSkill(ctx context.Context, in *Skill, db *gorm1.DB) (*Skill, error)
- func DefaultStrictUpdateSkill(ctx context.Context, in *Skill, db *gorm1.DB) (*Skill, error)
- func (*Skill) Descriptor() ([]byte, []int)deprecated
- func (x *Skill) GetCategory() *wrappers.StringValue
- func (x *Skill) GetCreatedAt() *timestamp.Timestamp
- func (x *Skill) GetDeletedAt() *timestamp.Timestamp
- func (x *Skill) GetDependencies() *wrappers.StringValue
- func (x *Skill) GetDescription() *wrappers.StringValue
- func (x *Skill) GetDisabled() bool
- func (x *Skill) GetId() *types.UUID
- func (x *Skill) GetIndex() int32
- func (x *Skill) GetLessonNumber() int32
- func (x *Skill) GetLocked() bool
- func (x *Skill) GetTitle() string
- func (x *Skill) GetType() *wrappers.StringValue
- func (x *Skill) GetUpdatedAt() *timestamp.Timestamp
- func (x *Skill) GetUrlTitle() string
- func (x *Skill) GetWords() []*Word
- func (*Skill) ProtoMessage()
- func (x *Skill) ProtoReflect() protoreflect.Message
- func (x *Skill) Reset()
- func (x *Skill) String() string
- func (m *Skill) ToORM(ctx context.Context) (SkillORM, error)
- func (m *Skill) Validate() error
- type SkillORM
- type SkillORMWithAfterCreate_
- type SkillORMWithAfterDeleteSet
- type SkillORMWithAfterDelete_
- type SkillORMWithAfterListFind
- type SkillORMWithAfterReadFind
- type SkillORMWithAfterStrictUpdateSave
- type SkillORMWithBeforeCreate_
- type SkillORMWithBeforeDeleteSet
- type SkillORMWithBeforeDelete_
- type SkillORMWithBeforeListApplyQuery
- type SkillORMWithBeforeListFind
- type SkillORMWithBeforeReadApplyQuery
- type SkillORMWithBeforeReadFind
- type SkillORMWithBeforeStrictUpdateCleanup
- type SkillORMWithBeforeStrictUpdateSave
- type SkillValidationError
- type SkillWithAfterPatchSave
- type SkillWithAfterToORM
- type SkillWithAfterToPB
- type SkillWithBeforePatchApplyFieldMask
- type SkillWithBeforePatchRead
- type SkillWithBeforePatchSave
- type SkillWithBeforeToORM
- type SkillWithBeforeToPB
- type Word
- func DefaultApplyFieldMaskWord(ctx context.Context, patchee *Word, patcher *Word, ...) (*Word, error)
- func DefaultCreateWord(ctx context.Context, in *Word, db *gorm1.DB) (*Word, error)
- func DefaultListWord(ctx context.Context, db *gorm1.DB) ([]*Word, error)
- func DefaultPatchSetWord(ctx context.Context, objects []*Word, updateMasks []*field_mask1.FieldMask, ...) ([]*Word, error)
- func DefaultPatchWord(ctx context.Context, in *Word, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Word, error)
- func DefaultReadWord(ctx context.Context, in *Word, db *gorm1.DB) (*Word, error)
- func DefaultStrictUpdateWord(ctx context.Context, in *Word, db *gorm1.DB) (*Word, error)
- func (*Word) Descriptor() ([]byte, []int)deprecated
- func (x *Word) GetAudioSrc() string
- func (x *Word) GetContent() string
- func (x *Word) GetCreatedAt() *timestamp.Timestamp
- func (x *Word) GetDeletedAt() *timestamp.Timestamp
- func (x *Word) GetId() *types.UUID
- func (x *Word) GetSkill() *Skill
- func (x *Word) GetUpdatedAt() *timestamp.Timestamp
- func (*Word) ProtoMessage()
- func (x *Word) ProtoReflect() protoreflect.Message
- func (x *Word) Reset()
- func (x *Word) String() string
- func (m *Word) ToORM(ctx context.Context) (WordORM, error)
- func (m *Word) Validate() error
- type WordORM
- type WordORMWithAfterCreate_
- type WordORMWithAfterDeleteSet
- type WordORMWithAfterDelete_
- type WordORMWithAfterListFind
- type WordORMWithAfterReadFind
- type WordORMWithAfterStrictUpdateSave
- type WordORMWithBeforeCreate_
- type WordORMWithBeforeDeleteSet
- type WordORMWithBeforeDelete_
- type WordORMWithBeforeListApplyQuery
- type WordORMWithBeforeListFind
- type WordORMWithBeforeReadApplyQuery
- type WordORMWithBeforeReadFind
- type WordORMWithBeforeStrictUpdateCleanup
- type WordORMWithBeforeStrictUpdateSave
- type WordValidationError
- type WordWithAfterPatchSave
- type WordWithAfterToORM
- type WordWithAfterToPB
- type WordWithBeforePatchApplyFieldMask
- type WordWithBeforePatchRead
- type WordWithBeforePatchSave
- type WordWithBeforeToORM
- type WordWithBeforeToPB
Constants ¶
This section is empty.
Variables ¶
var File_service_language_proto_entities_entities_proto protoreflect.FileDescriptor
Functions ¶
func DefaultDeleteLanguage ¶
func DefaultDeleteSkill ¶
func DefaultDeleteSkillSet ¶
Types ¶
type Language ¶
type Language struct { Id *types.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // primary key CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Abbreviation string `protobuf:"bytes,6,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` FlagSrc string `protobuf:"bytes,7,opt,name=flag_src,json=flagSrc,proto3" json:"flag_src,omitempty"` Skills []*Skill `protobuf:"bytes,9,rep,name=skills,proto3" json:"skills,omitempty"` // contains filtered or unexported fields }
Language Entity
func DefaultApplyFieldMaskLanguage ¶
func DefaultApplyFieldMaskLanguage(ctx context.Context, patchee *Language, patcher *Language, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Language, error)
DefaultApplyFieldMaskLanguage patches an pbObject with patcher according to a field mask.
func DefaultCreateLanguage ¶
DefaultCreateLanguage executes a basic gorm create call
func DefaultListLanguage ¶
DefaultListLanguage executes a gorm list call
func DefaultPatchLanguage ¶
func DefaultPatchLanguage(ctx context.Context, in *Language, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Language, error)
DefaultPatchLanguage executes a basic gorm update call with patch behavior
func DefaultPatchSetLanguage ¶
func DefaultPatchSetLanguage(ctx context.Context, objects []*Language, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Language, error)
DefaultPatchSetLanguage executes a bulk gorm update call with patch behavior
func DefaultReadLanguage ¶
DefaultReadLanguage executes a basic gorm read call
func DefaultStrictUpdateLanguage ¶
func DefaultStrictUpdateLanguage(ctx context.Context, in *Language, db *gorm1.DB) (*Language, error)
DefaultStrictUpdateLanguage clears first level 1:many children and then executes a gorm update call
func (*Language) Descriptor
deprecated
func (*Language) GetAbbreviation ¶
func (*Language) GetCreatedAt ¶
func (*Language) GetDeletedAt ¶
func (*Language) GetFlagSrc ¶
func (*Language) GetUpdatedAt ¶
func (*Language) ProtoMessage ¶
func (*Language) ProtoMessage()
func (*Language) ProtoReflect ¶
func (x *Language) ProtoReflect() protoreflect.Message
type LanguageORM ¶
type LanguageORM struct { Abbreviation string `gorm:"size:10;not null"` CreatedAt *time.Time `gorm:"not null"` DeletedAt *time.Time `gorm:"index:idx_languages_deleted_at"` FlagSrc string `gorm:"size:255;not null"` Id go_uuid1.UUID `gorm:"type:uuid;primary_key;unique;not null"` Name string `gorm:"size:100;not null"` Skills []*SkillORM `gorm:"foreignkey:LanguageId;association_foreignkey:Id;preload:true"` UpdatedAt *time.Time `gorm:"not null"` }
func (*LanguageORM) BeforeCreate ¶
func (m *LanguageORM) BeforeCreate(scope *gorm.Scope) error
BeforeCreate implements the GORM BeforeCreate interface for the UserORM type. you can use this method to generate new UUID for CREATE operation or let database create it with this annotation: {type: "uuid", primary_key: true, not_null:true, default: "uuid_generate_v4()"}]; we prefer First method as it works with both SQLite & PostgreSQL
func (LanguageORM) TableName ¶
func (LanguageORM) TableName() string
TableName overrides the default tablename generated by GORM
type LanguageValidationError ¶
type LanguageValidationError struct {
// contains filtered or unexported fields
}
LanguageValidationError is the validation error returned by Language.Validate if the designated constraints aren't met.
func (LanguageValidationError) Cause ¶
func (e LanguageValidationError) Cause() error
Cause function returns cause value.
func (LanguageValidationError) Error ¶
func (e LanguageValidationError) Error() string
Error satisfies the builtin error interface
func (LanguageValidationError) ErrorName ¶
func (e LanguageValidationError) ErrorName() string
ErrorName returns error name.
func (LanguageValidationError) Field ¶
func (e LanguageValidationError) Field() string
Field function returns field value.
func (LanguageValidationError) Key ¶
func (e LanguageValidationError) Key() bool
Key function returns key value.
func (LanguageValidationError) Reason ¶
func (e LanguageValidationError) Reason() string
Reason function returns reason value.
type LanguageWithAfterToORM ¶
type LanguageWithAfterToORM interface {
AfterToORM(context.Context, *LanguageORM) error
}
LanguageAfterToORM called after default ToORM code
type LanguageWithAfterToPB ¶
LanguageAfterToPB called after default ToPB code
type LanguageWithBeforeToORM ¶
type LanguageWithBeforeToORM interface {
BeforeToORM(context.Context, *LanguageORM) error
}
LanguageBeforeToORM called before default ToORM code
type LanguageWithBeforeToPB ¶
LanguageBeforeToPB called before default ToPB code
type Skill ¶
type Skill struct { Id *types.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // primary key CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` Dependencies *wrappers.StringValue `protobuf:"bytes,5,opt,name=dependencies,proto3" json:"dependencies,omitempty"` Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` LessonNumber int32 `protobuf:"varint,7,opt,name=lesson_number,json=lessonNumber,proto3" json:"lesson_number,omitempty"` Description *wrappers.StringValue `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` Locked bool `protobuf:"varint,9,opt,name=locked,proto3" json:"locked,omitempty"` Type *wrappers.StringValue `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` Title string `protobuf:"bytes,11,opt,name=title,proto3" json:"title,omitempty"` UrlTitle string `protobuf:"bytes,12,opt,name=url_title,json=urlTitle,proto3" json:"url_title,omitempty"` Category *wrappers.StringValue `protobuf:"bytes,13,opt,name=category,proto3" json:"category,omitempty"` Index int32 `protobuf:"varint,14,opt,name=index,proto3" json:"index,omitempty"` Words []*Word `protobuf:"bytes,15,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
A skill is a set of lessons focused on a particular topic, such as present tense verbs or sports vocabulary. https://duolingo.fandom.com/wiki/Skill
func DefaultApplyFieldMaskSkill ¶
func DefaultApplyFieldMaskSkill(ctx context.Context, patchee *Skill, patcher *Skill, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Skill, error)
DefaultApplyFieldMaskSkill patches an pbObject with patcher according to a field mask.
func DefaultCreateSkill ¶
DefaultCreateSkill executes a basic gorm create call
func DefaultListSkill ¶
DefaultListSkill executes a gorm list call
func DefaultPatchSetSkill ¶
func DefaultPatchSetSkill(ctx context.Context, objects []*Skill, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Skill, error)
DefaultPatchSetSkill executes a bulk gorm update call with patch behavior
func DefaultPatchSkill ¶
func DefaultPatchSkill(ctx context.Context, in *Skill, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Skill, error)
DefaultPatchSkill executes a basic gorm update call with patch behavior
func DefaultReadSkill ¶
DefaultReadSkill executes a basic gorm read call
func DefaultStrictUpdateSkill ¶
DefaultStrictUpdateSkill clears first level 1:many children and then executes a gorm update call
func (*Skill) Descriptor
deprecated
func (*Skill) GetCategory ¶
func (x *Skill) GetCategory() *wrappers.StringValue
func (*Skill) GetCreatedAt ¶
func (*Skill) GetDeletedAt ¶
func (*Skill) GetDependencies ¶
func (x *Skill) GetDependencies() *wrappers.StringValue
func (*Skill) GetDescription ¶
func (x *Skill) GetDescription() *wrappers.StringValue
func (*Skill) GetDisabled ¶
func (*Skill) GetLessonNumber ¶
func (*Skill) GetType ¶
func (x *Skill) GetType() *wrappers.StringValue
func (*Skill) GetUpdatedAt ¶
func (*Skill) GetUrlTitle ¶
func (*Skill) ProtoMessage ¶
func (*Skill) ProtoMessage()
func (*Skill) ProtoReflect ¶
func (x *Skill) ProtoReflect() protoreflect.Message
type SkillORM ¶
type SkillORM struct { Category *string `gorm:"size:100"` CreatedAt *time.Time `gorm:"not null"` DeletedAt *time.Time `gorm:"index:idx_skills_deleted_at"` Dependencies *string Description *string Disabled bool Id go_uuid1.UUID `gorm:"type:uuid;primary_key;unique;not null"` Index int32 `gorm:"not null"` LanguageId *go_uuid1.UUID LessonNumber int32 `gorm:"not null"` Locked bool Title string `gorm:"size:50;not null"` Type *string UpdatedAt *time.Time `gorm:"not null"` UrlTitle string `gorm:"size:100;not null"` WordId *go_uuid1.UUID Words []*WordORM `gorm:"foreignkey:SkillId;association_foreignkey:Id;preload:true"` }
func (*SkillORM) BeforeCreate ¶
BeforeCreate implements the GORM BeforeCreate interface for the ProfileORM type.
type SkillValidationError ¶
type SkillValidationError struct {
// contains filtered or unexported fields
}
SkillValidationError is the validation error returned by Skill.Validate if the designated constraints aren't met.
func (SkillValidationError) Cause ¶
func (e SkillValidationError) Cause() error
Cause function returns cause value.
func (SkillValidationError) Error ¶
func (e SkillValidationError) Error() string
Error satisfies the builtin error interface
func (SkillValidationError) ErrorName ¶
func (e SkillValidationError) ErrorName() string
ErrorName returns error name.
func (SkillValidationError) Field ¶
func (e SkillValidationError) Field() string
Field function returns field value.
func (SkillValidationError) Key ¶
func (e SkillValidationError) Key() bool
Key function returns key value.
func (SkillValidationError) Reason ¶
func (e SkillValidationError) Reason() string
Reason function returns reason value.
type SkillWithAfterPatchSave ¶
type SkillWithAfterToORM ¶
SkillAfterToORM called after default ToORM code
type SkillWithAfterToPB ¶
SkillAfterToPB called after default ToPB code
type SkillWithBeforeToORM ¶
SkillBeforeToORM called before default ToORM code
type SkillWithBeforeToPB ¶
SkillBeforeToPB called before default ToPB code
type Word ¶
type Word struct { Id *types.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // primary key CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` AudioSrc string `protobuf:"bytes,6,opt,name=audio_src,json=audioSrc,proto3" json:"audio_src,omitempty"` Skill *Skill `protobuf:"bytes,7,opt,name=Skill,proto3" json:"Skill,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskWord ¶
func DefaultApplyFieldMaskWord(ctx context.Context, patchee *Word, patcher *Word, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Word, error)
DefaultApplyFieldMaskWord patches an pbObject with patcher according to a field mask.
func DefaultCreateWord ¶
DefaultCreateWord executes a basic gorm create call
func DefaultListWord ¶
DefaultListWord executes a gorm list call
func DefaultPatchSetWord ¶
func DefaultPatchSetWord(ctx context.Context, objects []*Word, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Word, error)
DefaultPatchSetWord executes a bulk gorm update call with patch behavior
func DefaultPatchWord ¶
func DefaultPatchWord(ctx context.Context, in *Word, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Word, error)
DefaultPatchWord executes a basic gorm update call with patch behavior
func DefaultReadWord ¶
DefaultReadWord executes a basic gorm read call
func DefaultStrictUpdateWord ¶
DefaultStrictUpdateWord clears first level 1:many children and then executes a gorm update call
func (*Word) Descriptor
deprecated
func (*Word) GetAudioSrc ¶
func (*Word) GetContent ¶
func (*Word) GetCreatedAt ¶
func (*Word) GetDeletedAt ¶
func (*Word) GetUpdatedAt ¶
func (*Word) ProtoMessage ¶
func (*Word) ProtoMessage()
func (*Word) ProtoReflect ¶
func (x *Word) ProtoReflect() protoreflect.Message
type WordORM ¶
type WordORM struct { AudioSrc string `gorm:"size:255;not null"` Content string `gorm:"not null"` CreatedAt *time.Time `gorm:"not null"` DeletedAt *time.Time `gorm:"index:idx_words_deleted_at"` Id go_uuid1.UUID `gorm:"type:uuid;primary_key;unique;not null"` Skill *SkillORM `gorm:"foreignkey:WordId;association_foreignkey:Id;preload:false"` SkillId *go_uuid1.UUID UpdatedAt *time.Time `gorm:"not null"` }
func (*WordORM) BeforeCreate ¶
BeforeCreate implements the GORM BeforeCreate interface for the ProfileORM type.
type WordORMWithAfterCreate_ ¶
type WordORMWithAfterDelete_ ¶
type WordValidationError ¶
type WordValidationError struct {
// contains filtered or unexported fields
}
WordValidationError is the validation error returned by Word.Validate if the designated constraints aren't met.
func (WordValidationError) Cause ¶
func (e WordValidationError) Cause() error
Cause function returns cause value.
func (WordValidationError) Error ¶
func (e WordValidationError) Error() string
Error satisfies the builtin error interface
func (WordValidationError) ErrorName ¶
func (e WordValidationError) ErrorName() string
ErrorName returns error name.
func (WordValidationError) Field ¶
func (e WordValidationError) Field() string
Field function returns field value.
func (WordValidationError) Key ¶
func (e WordValidationError) Key() bool
Key function returns key value.
func (WordValidationError) Reason ¶
func (e WordValidationError) Reason() string
Reason function returns reason value.
type WordWithAfterPatchSave ¶
type WordWithAfterToORM ¶
WordAfterToORM called after default ToORM code
type WordWithAfterToPB ¶
WordAfterToPB called after default ToPB code
type WordWithBeforePatchRead ¶
type WordWithBeforePatchSave ¶
type WordWithBeforeToORM ¶
WordBeforeToORM called before default ToORM code