db

package
v0.0.0-...-d9f47dd Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DB_FILE      = "exchange.db"
	CREATE_TABLE = "CREATE TABLE IF NOT EXISTS exchange " +
		"(id INTEGER PRIMARY KEY AUTOINCREMENT," +
		"code TEXT, " +
		"codein TEXT, " +
		"name TEXT," +
		"high TEXT," +
		"low TEXT," +
		"var_bid TEXT," +
		"pct_change TEXT," +
		"bid TEXT," +
		"ask TEXT," +
		"timestamp TEXT, " +
		"create_date TEXT)"
)

Variables

This section is empty.

Functions

func GetDatabase

func GetDatabase() *sql.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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