sqlite

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteClient

type SQLiteClient struct {
	SQLiteFile string
	// contains filtered or unexported fields
}

func New

func New(sqliteFile string) *SQLiteClient

func (*SQLiteClient) Connect

func (c *SQLiteClient) Connect(config *gorm.Config)

func (*SQLiteClient) DB

func (c *SQLiteClient) DB() *gorm.DB

func (*SQLiteClient) RegisterFlags

func (c *SQLiteClient) RegisterFlags(cmd *cobra.Command)

Jump to

Keyboard shortcuts

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