db

package
v0.0.0-...-d38fd0e Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: MIT Imports: 5 Imported by: 0

README

All the logic necessary to connect to SQLite is stored here

Current model:

Relational Model

Documentation

Index

Constants

View Source
const FileName = "stuff.db"

FileName stores the SQLite file name

Variables

This section is empty.

Functions

func GetDB

func GetDB() (*sql.DB, error)

GetDB returns or creates a connection with the application's SQLite database. If the database doesn't exist, a new one will be created

Types

This section is empty.

Jump to

Keyboard shortcuts

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