Documentation ¶ Overview ¶ Package store 提供对 setting.Store 的实现 Index ¶ func Install(mod string, db *orm.DB) func NewDB(mod string, db *orm.DB) setting.Store type DB func (g *DB) Exists(id string) (bool, error) func (g *DB) Insert(id string, v any) error func (g *DB) Load(id string, v any) error func (g *DB) Update(id string, v any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Install ¶ func Install(mod string, db *orm.DB) func NewDB ¶ func NewDB(mod string, db *orm.DB) setting.Store Types ¶ type DB ¶ type DB struct { // contains filtered or unexported fields } func (*DB) Exists ¶ func (g *DB) Exists(id string) (bool, error) func (*DB) Insert ¶ func (g *DB) Insert(id string, v any) error func (*DB) Load ¶ func (g *DB) Load(id string, v any) error func (*DB) Update ¶ func (g *DB) Update(id string, v any) error Source Files ¶ View all Source files db.goinstall.gomodels.gostore.go Click to show internal directories. Click to hide internal directories.