persist

package
v0.0.0-...-fca866f Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB
View Source
var ErrDBNotInit = fmt.Errorf("sqlite is not init")

Functions

func Create

func Create(m model.Modeler) error

func Delete

func Delete(m model.Modeler) error

func Get

func Get(m model.Modeler) error

func Init

func Init() error

func Save

func Save(m model.Modeler) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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