sqls

package
v0.0.0-...-8fafe4d Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const FileName = "rest-sqlite.db"

Variables

View Source
var (
	ErrDuplicate    = errors.New("record already exists")
	ErrNotExists    = errors.New("row not exists")
	ErrUpdateFailed = errors.New("update failed")
	ErrDeleteFailed = errors.New("delete failed")
)

Functions

This section is empty.

Types

type SQLiteClient

type SQLiteClient struct {
	DB *gorm.DB
}

func InitGORMSQLiteDB

func InitGORMSQLiteDB() (*SQLiteClient, error)

Jump to

Keyboard shortcuts

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