env

package
v0.0.0-...-547a5e9 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package env pulls together the environment variables needed for the dashboard application:

* Database * Templates

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	database.Database
	Templates *template.Template
}

Env is a container for environment variables

func Connect

func Connect(filename string) (Env, error)

Connect to the database, and load up template files

Jump to

Keyboard shortcuts

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