Documentation ¶ Index ¶ Constants func RunMigrations(db *sql.DB) error type Opt func FromEnv() Opt type Store func New(opts ...Opt) *Store func (s *Store) Healthy() error func (s *Store) Init() error func (s *Store) Name() string func (s *Store) Run() error func (s *Store) Stop() error Constants ¶ View Source const ErrDBNotSet = strerr.Error("db not set") Variables ¶ This section is empty. Functions ¶ func RunMigrations ¶ func RunMigrations(db *sql.DB) error Types ¶ type Opt ¶ type Opt func(*Store) error func FromEnv ¶ func FromEnv() Opt type Store ¶ type Store struct { // contains filtered or unexported fields } func New ¶ func New(opts ...Opt) *Store func (*Store) Healthy ¶ func (s *Store) Healthy() error func (*Store) Init ¶ func (s *Store) Init() error func (*Store) Name ¶ func (s *Store) Name() string func (*Store) Run ¶ func (s *Store) Run() error func (*Store) Stop ¶ func (s *Store) Stop() error Source Files ¶ View all Source files migrate.gostore.go Click to show internal directories. Click to hide internal directories.