Documentation ¶
Overview ¶
Package db provide convenient access to sqlite database. This uses context.Context as a store that you can pass around to database operations from it.
Index ¶
- func Check(ctx context.Context) bool
- func Exists(ctx context.Context, where func(db *gorm.DB) *gorm.DB) bool
- func ExistsDB(db *gorm.DB, where func(db *gorm.DB) *gorm.DB) bool
- func Get(ctx context.Context) *gorm.DB
- func LOG(ctx context.Context, err error, msg string, ...)
- func Set(ctx context.Context, db *gorm.DB) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.