Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Conf *config.Config
	DB   *pg.DB
)

Functions

func DialPostgres

func DialPostgres(username, password, host string, port int, database string, options map[string]string) *pg.DB

Types

type Server

type Server struct {
	*echo.Echo
}

func NewServer

func NewServer() *Server

Directories

Path Synopsis
database
module