db

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStore

type DataStore struct {
	Path string
}

DataStore structure

func NewDataStore

func NewDataStore() (*DataStore, error)

NewDataStore search the path of database file

func (*DataStore) Check

func (d *DataStore) Check() error

Check if the database file exist

func (*DataStore) Initialize

func (d *DataStore) Initialize() error

Initialize the database file

Jump to

Keyboard shortcuts

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