db

package
v0.0.0-...-34bbb14 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDbClient

func GetDbClient() *scribble.Driver

getDbClient returns a new scribble database, providing a destination for the database to live

func UpdateDB

func UpdateDB(db *scribble.Driver, name string)

updateDB will insert a record, the record will be an top Commodity.

Types

type TopCommodity

type TopCommodity string

top commodity

func GetTopCommodityFromDB

func GetTopCommodityFromDB(db *scribble.Driver) TopCommodity

getTopCommodityFromDB will read record from DB.

Jump to

Keyboard shortcuts

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