configuration

package
v0.0.0-...-1535c92 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(v string, d string) string

GetEnv get env

func InitConfiguration

func InitConfiguration()

InitConfiguration init

Types

type Configuration

type Configuration struct {
	DBName          string
	DBHost          string
	DBPort          int
	DBUser          string
	DBPass          string
	StripeSecretKey string
}

Configuration config

var Config *Configuration

func (*Configuration) GetConnectionString

func (c *Configuration) GetConnectionString() string

GetConnectionString get connection string

Jump to

Keyboard shortcuts

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