Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrVersionNotValid Update value not valid version current value ErrVersionNotValid = errors.New("version not valid") )
Functions ¶
func RegisterCallbacks ¶
RegisterCallbacks register callback into GORM DB
Types ¶
type Consistently ¶
type Consistently struct {
Version string `consistently:"version"`
}
Consistently is a struct, embed it in your struct to enable check version for the struct
Click to show internal directories.
Click to hide internal directories.