db

package
v0.0.0-...-069cfaf Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ddb

type Ddb interface {
	//DbReadAllTypes()map[int]model.WingCalGrupaRadova
	DbRead(folder, name string) model.WingVrstaRadova
	DbReadAll(folder string) map[int]model.WingVrstaRadova
	DbWrite(folder, name string, data interface{})
}

type DuoUIdb

type DuoUIdb struct {
	DB     *scribble.Driver
	Folder string `json:"folder"`
	Name   string `json:"name"`
}

func DuoUIdbInit

func DuoUIdbInit(dataDir string) (d *DuoUIdb)

func (*DuoUIdb) DbRead

func (d *DuoUIdb) DbRead(folder, name string) model.WingVrstaRadova

func (*DuoUIdb) DbReadAll

func (d *DuoUIdb) DbReadAll(folder string) map[int]model.WingVrstaRadova

func (*DuoUIdb) DbWrite

func (d *DuoUIdb) DbWrite(folder, name string, data interface{})

Jump to

Keyboard shortcuts

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