database

package
v13.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2018 License: MIT Imports: 12 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(dbPath string) (*gorm.DB, error)

Open returns a connection to butler's sqlite database

func Prepare

func Prepare(db *gorm.DB) error

Prepare synchronizes schemas, runs migrations etc.

func SetLogger

func SetLogger(db *gorm.DB, consumer *state.Consumer)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL