model

package
Version: v0.0.0-...-acf62fd Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnection

func GetConnection(config config.Configuration) *sql.DB

GetConnection opens a new connection pool

Types

type DB

type DB struct {
	DB *sql.DB
}

DB struct contains the SQL database object

type Message

type Message struct {
	Message string `json:"message"`
}

Message struct

type Model

type Model struct {
	Message Message `json:"message"`
}

Model struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL