db

package
v0.0.0-...-d717f33 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 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, tabname string)

Clear - delete all checks from table

func Create

func Create(path string)

Create - create table if not exists

func Delete

func Delete(path string, tabname string, id int)

Delete - delete

func Insert

func Insert(path string, tabname string, check models.Check)

Insert - insert into DB

func Select

func Select(path string, tabname string) (checks []models.Check)

Select - select all from DB

func Update

func Update(path string, tabname string, check models.Check, id int)

Update - update DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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