Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQueryRepository ¶
func NewQueryRepository(db *bun.DB) application.QueryRepository
func NewRepository ¶
Types ¶
type User ¶
type User struct { bun.BaseModel `bun:"table:user,alias:u"` ID string `bun:"id,pk"` Name string `bun:"name"` Password []byte `bun:"password" copier:"HashedPassword"` Email string `bun:"email"` Version int `bun:"version"` Deleted bool `bun:"deleted"` CTime bun.NullTime `bun:"ctime"` MTime time.Time `bun:"mtime"` }
Click to show internal directories.
Click to hide internal directories.