postgresql

package
v0.1.1-0...-4a89cbd Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTables

func CreateTables(stores ...Store)

CreateTables creates tables for all stores

func NewConnection

func NewConnection(engine, user, password, dbname, port, host string) *sqlx.DB

TODO: Actually test SQLite engine, and add a SQLite Driver

Types

type Store

type Store interface {
	// contains filtered or unexported methods
}

Store is a postgres store

type UserStore

type UserStore struct {
	// contains filtered or unexported fields
}

func NewUserStore

func NewUserStore(db *sqlx.DB) *UserStore

Jump to

Keyboard shortcuts

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