storage

package
v0.0.0-...-42c83be Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sqlx.DB

DB is exported for use in sub-packages

Functions

func InitDB

func InitDB(connString string) error

InitDB is called from main(), to set up DB and check for connectivity

func OnReady

func OnReady(initdb func())

OnReady allows sub-packages to queue their own init() once we have a DB up

Types

This section is empty.

Jump to

Keyboard shortcuts

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