db

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

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

Go to latest
Published: Dec 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(path string)

Clear - delete all records from table

func Create

func Create(path string)

Create - create table if not exists

func Delete

func Delete(path string, id int)

Delete - delete one record

func Insert

func Insert(path string, rec models.MonData)

Insert - insert one rec into DB

func Select

func Select(path string) []models.MonData

Select - select all from DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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