Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(config Configuration) *sqlx.DB
func NewSessionStore ¶
func NewSessionStore(db *sqlx.DB) session.SessionStore
Types ¶
type Configuration ¶
type Findable ¶
func NewFindable ¶
func NewFindableDefault ¶
func (Findable[ENTITY, FILTER]) Find ¶
func (repo Findable[ENTITY, FILTER]) Find(filter *FILTER, pag *pagination.Pagination) (pagination.List[ENTITY], error)
type SQLDao ¶
func (SQLDao) BeginOrFatal ¶
type SQLSessionStore ¶
type SQLSessionStore struct {
SQLDao
}
func (SQLSessionStore) Delete ¶
func (store SQLSessionStore) Delete(id session.Id)
func (SQLSessionStore) Save ¶
func (store SQLSessionStore) Save(entry session.Entry)
Click to show internal directories.
Click to hide internal directories.