Help us shape the future of Go! Take the 2026 Go Developer Survey

db

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(conf Config) *sqliteDb

func Store

func Store() *gorm.DB

Types

type Config added in v0.2.0

type Config struct {
	Path     string `koanf:"path"`
	FileName string `koanf:"filename" default:"app.db"`
	Debug    bool   `koanf:"debug" default:"false"`
}

Jump to

Keyboard shortcuts

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