sqlite

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLite

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

SQLite for sqlite database

func New

func New(args interface{}) SQLite

New will init a struct

func (SQLite) Args

func (s SQLite) Args() interface{}

Args will return the connection args

func (SQLite) Open

func (s SQLite) Open() (*gorm.DB, error)

Open will build a connection with database

Jump to

Keyboard shortcuts

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