Documentation ¶
Index ¶
- func Len() int
- type ConfirmType
- func (c ConfirmType) GetSubject() string
- func (c ConfirmType) GetTemplate() *template.Template
- func (c ConfirmType) MarshalJSON() ([]byte, error)
- func (c ConfirmType) MarshalYAML() (any, error)
- func (c ConfirmType) String() string
- func (c *ConfirmType) UnmarshalJSON(b []byte) error
- func (c *ConfirmType) UnmarshalYAML(b *yaml.Node) error
- type ConfirmTypes
- func (ConfirmTypes) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (ConfirmTypes) GormDataType() string
- func (js ConfirmTypes) GormValue(ctx context.Context, db *gorm.DB) (expr clause.Expr)
- func (c ConfirmTypes) MarshalJSON() ([]byte, error)
- func (c ConfirmTypes) MarshalYAML() (any, error)
- func (c *ConfirmTypes) Scan(value interface{}) (err error)
- func (c *ConfirmTypes) UnmarshalJSON(b []byte) error
- func (c *ConfirmTypes) UnmarshalYAML(b *yaml.Node) error
- func (c ConfirmTypes) Value() (value driver.Value, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfirmType ¶
type ConfirmType byte
const ( NewAccount ConfirmType = iota ForgetPassword Unknown ConfirmType = 255 )
func FromString ¶
func FromString(s string) ConfirmType
func Random ¶
func Random() ConfirmType
func (ConfirmType) GetSubject ¶
func (c ConfirmType) GetSubject() string
func (ConfirmType) GetTemplate ¶
func (c ConfirmType) GetTemplate() *template.Template
func (ConfirmType) MarshalJSON ¶
func (c ConfirmType) MarshalJSON() ([]byte, error)
func (ConfirmType) MarshalYAML ¶
func (c ConfirmType) MarshalYAML() (any, error)
func (ConfirmType) String ¶
func (c ConfirmType) String() string
func (*ConfirmType) UnmarshalJSON ¶
func (c *ConfirmType) UnmarshalJSON(b []byte) error
func (*ConfirmType) UnmarshalYAML ¶
func (c *ConfirmType) UnmarshalYAML(b *yaml.Node) error
type ConfirmTypes ¶
type ConfirmTypes []ConfirmType
func (ConfirmTypes) GormDBDataType ¶
func (ConfirmTypes) GormDataType ¶
func (ConfirmTypes) GormDataType() string
func (ConfirmTypes) MarshalJSON ¶
func (c ConfirmTypes) MarshalJSON() ([]byte, error)
func (ConfirmTypes) MarshalYAML ¶
func (c ConfirmTypes) MarshalYAML() (any, error)
func (*ConfirmTypes) Scan ¶
func (c *ConfirmTypes) Scan(value interface{}) (err error)
func (*ConfirmTypes) UnmarshalJSON ¶
func (c *ConfirmTypes) UnmarshalJSON(b []byte) error
func (*ConfirmTypes) UnmarshalYAML ¶
func (c *ConfirmTypes) UnmarshalYAML(b *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.