base

package
Version: v0.0.0-...-24333fe Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomStr

func RandomStr() string

RandomStr creates a random string. Used to create the database name.

Types

type Config

type Config struct {
	DropDB           bool   `env:"DROP_TEST_DB" envDefault:"true"`
	PostgresURL      string `env:"POSTGRES_URL" envDefault:"postgres://localhost:5432?sslmode=disable"`
	DatabaseName     string
	MigrationsFolder string `env:"MIGRATIONS_PATH" envDefault:"./migrations"`
}

Config for ITs

Source Files

Jump to

Keyboard shortcuts

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