config

package
v0.0.0-...-ec51da4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	ItemGroups              []entities.ItemGroup `yaml:"item_groups"`
	FeedbackServiceEndpoint string               `yaml:"feedback_endpoint"`
	AppURL                  string               `yaml:"app_url"`
}

AppConfig is a struct to store non-private configuration for the project

func NewAppConfig

func NewAppConfig(env *environment.Env) (*AppConfig, error)

NewAppConfig loads the project config from the config files based on the environment

Jump to

Keyboard shortcuts

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