Documentation
¶
Index ¶
- Constants
- Variables
- type History
- type HistoryV1
- type State
- func (s State) Delete(h History) error
- func (s State) GetAllByMode(mode string) ([]History, error)
- func (s State) Tx(fn func(tx *gorm.DB) error) error
- func (s State) TxDelete(tx *gorm.DB, h History) error
- func (s State) TxGetAllByMode(tx *gorm.DB, mode string) ([]History, error)
- func (s State) TxSafe(fn func(tx *gorm.DB) error) error
- func (s State) TxUpsert(tx *gorm.DB, h History) error
- func (s State) Upsert(h History) error
- type Store
- type Version
Constants ¶
View Source
const (
PathInMemory = ":memory:"
)
Variables ¶
View Source
var (
ErrVersionUnknown = fmt.Errorf("unknown version")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.