config

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(config *Config)

CreateConfig adds a configuration file to the project.

Types

type Config

type Config struct {
	Profile            string            `json:"profile"`
	Region             string            `json:"region"`
	Environments       map[string]string `json:"environments"`
	DefaultEnvironment string            `json:"defaultEnv"`
}

Config for the project.

func GetConfig

func GetConfig() *Config

GetConfig reads configuration of the project.

Jump to

Keyboard shortcuts

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