config

package
v0.0.0-...-581c60a Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Author string `mapstructure:"AUTHOR"`
	Email  string `mapstructure:"EMAIL"`
}

Config stores all configuration of the application. The values are read by viper from a config file or environment variable.

func Load

func Load(path string) (config Config)

Load reads configuration from file or environment variables.

Jump to

Keyboard shortcuts

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