config

package
v0.0.0-...-d933f62 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package config generate the environment of the API

Index

Constants

This section is empty.

Variables

View Source
var GAppName = "apigoboot"

GAppName define the app name

View Source
var GAppUrl string

GAppUrl is the application url

View Source
var GDevEnv bool

GDevEnv define if environment is in dev mode

View Source
var GPort string

GPort is the application current port

View Source
var GUnitTestingEnv bool

GUnitTestingEnv define if environment is in testing mode

Functions

func SetToTestingEnv

func SetToTestingEnv()

SetToTestingEnv set the test environment, this need to be called before testing to prevent the development database to be used

Types

This section is empty.

Jump to

Keyboard shortcuts

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