sqlite

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepository

func NewRepository(opt *ConnectionOption, timezone *time.Location) repository.Repository

Types

type ConnectionOption

type ConnectionOption struct {
	Path string
}

type RepositorySqlite

type RepositorySqlite struct {
	// contains filtered or unexported fields
}

func (*RepositorySqlite) Close

func (sq *RepositorySqlite) Close() error

func (*RepositorySqlite) Connect

func (sq *RepositorySqlite) Connect(ctx context.Context) error

func (*RepositorySqlite) GetDB

func (sq *RepositorySqlite) GetDB() *gorm.DB

func (*RepositorySqlite) Migrate

func (sq *RepositorySqlite) Migrate() error

Jump to

Keyboard shortcuts

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