Documentation ¶ Index ¶ Variables func DoRetry(f func() error) error func DropAll(db *gorm.DB) error func FindDatasetByName(db *gorm.DB, name string) (model.Dataset, error) func MustOpenFromCLI(c *cli.Context) *gorm.DB func Open(connString string, config *gorm.Config) (*gorm.DB, error) func OpenInMemory() *gorm.DB Constants ¶ This section is empty. Variables ¶ View Source var ErrDatabaseNotSupported = errors.New("database not supported") Functions ¶ func DoRetry ¶ func DoRetry(f func() error) error func DropAll ¶ func DropAll(db *gorm.DB) error func FindDatasetByName ¶ func FindDatasetByName(db *gorm.DB, name string) (model.Dataset, error) func MustOpenFromCLI ¶ func MustOpenFromCLI(c *cli.Context) *gorm.DB func Open ¶ func Open(connString string, config *gorm.Config) (*gorm.DB, error) func OpenInMemory ¶ func OpenInMemory() *gorm.DB Types ¶ This section is empty. Source Files ¶ View all Source files connstring_cgo.goutil.go Click to show internal directories. Click to hide internal directories.