Documentation ¶
Index ¶
- type Unique
- func (u *Unique) FormatInput(f func(input contracts.InputValue) interface{}) *Unique
- func (u *Unique) Ignore(id interface{}, idField ...string) *Unique
- func (u *Unique) Passes(input contracts.InputValue) (success bool, skipAll bool)
- func (u *Unique) RoleName() string
- func (u *Unique) Scope(s func(*gorm.DB) *gorm.DB) *Unique
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unique ¶
type Unique struct {
// contains filtered or unexported fields
}
func UniqueDefault ¶
func (*Unique) FormatInput ¶
func (u *Unique) FormatInput(f func(input contracts.InputValue) interface{}) *Unique
Click to show internal directories.
Click to hide internal directories.