environment

package
v0.0.0-...-46614dd Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Types = map[string]string{
	"test":       "test",
	"production": "prod",
}

Types to different environments

Functions

func LoadEnv

func LoadEnv() error

LoadEnv load environment configuration and configure stripe from him

Types

type Configuration

type Configuration struct {
	EnvType   string
	StripeKey string
}

Configuration configuration type from env file

var Config Configuration

Config configuration from env file

Jump to

Keyboard shortcuts

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