config

package
v0.0.0-...-6324ac2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = struct {
	Port uint `default:"7000" env:"PORT"`
	DB   struct {
		Name     string `default:"qor_example"`
		Adapter  string `default:"mysql"`
		User     string
		Password string
	}
	I18n *i18n.I18n
}{}
View Source
var FuncMap = template.FuncMap{
	"renderInlineEditAssets": RenderInlineEditAssets,
	"t":                      T,
}
View Source
var (
	Root = os.Getenv("GOPATH") + "/src/github.com/qor/qor-example"
)

Functions

func RenderInlineEditAssets

func RenderInlineEditAssets() (template.HTML, error)

func T

func T(key string, value string, args ...interface{}) template.HTML

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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