Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	DB() *sql.DB
}

Database is a service wrapper around an sql.DB instance

DB returns the wrapped sql database instance

type Service

type Service interface {
	governor.Service
	Database
}

func New

func New() Service

New creates a new db service

Source Files