config

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath string = "app.yaml"

Functions

func GetConfig

func GetConfig(key string) interface{}

func LoadConfig

func LoadConfig()

Types

type Config

type Config struct {
	RegistrationEnabled bool `mapstructure:"REGISTRATION_ENABLED"`
}

Jump to

Keyboard shortcuts

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