database

package
v0.0.0-...-0910900 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteState

func DeleteState(stateID string) error

DeleteState deletes state with that name

func GetSingleState

func GetSingleState(stateID string) *ymlparser.State

GetSingleState returns single state

func InitializeDB

func InitializeDB()

InitializeDB initializes the database

func InsertState

func InsertState(newState ymlparser.State)

InsertState inserts state to DB

func ReadAllStates

func ReadAllStates() []ymlparser.State

ReadAllStates returns all states

func UpdateState

func UpdateState(newState ymlparser.State, oldStateID string)

UpdateState updates state

Types

This section is empty.

Jump to

Keyboard shortcuts

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