database

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func Connect

func Connect() DB

func (*DB) Delete

func (db *DB) Delete(table string, id string) bool

func (*DB) Insert

func (db *DB) Insert(table string, record interface{}) bool

func (*DB) Select

func (db *DB) Select(table string) []interface{}

func (*DB) SelectById

func (db *DB) SelectById(table string, id string) interface{}

func (*DB) Update

func (db *DB) Update(table string, id string, record interface{}) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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