Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config[T any] struct { // Environment is your environment name (e.g. local, development, staging, production) // Whatever this field is, there must be a file named $PROJECT_PATH/configurations/{Environment}.json Environment string `json:"environment"` Variables T `json:"variables"` }
Config[T any] is the base configuration object we use
Click to show internal directories.
Click to hide internal directories.