Documentation ¶ Index ¶ Constants type Config func (c *Config) Connection() string type SQLite3 func New(ctx context.Context, config Config) (*SQLite3, error) func (s *SQLite3) Close() error func (s *SQLite3) Copy(ctx context.Context, dir string, name string) (*os.File, error) func (s *SQLite3) Migrate() error Constants ¶ View Source const ( InMemory = ":memory:" DriverName = "sqlite3" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Dir string DB string Options string Migrations source.Driver } func (*Config) Connection ¶ func (c *Config) Connection() string type SQLite3 ¶ type SQLite3 struct { DB *sqlx.DB // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, config Config) (*SQLite3, error) func (*SQLite3) Close ¶ func (s *SQLite3) Close() error func (*SQLite3) Copy ¶ added in v0.0.5 func (s *SQLite3) Copy(ctx context.Context, dir string, name string) (*os.File, error) func (*SQLite3) Migrate ¶ func (s *SQLite3) Migrate() error Source Files ¶ View all Source files sqlite3.go Click to show internal directories. Click to hide internal directories.