config

package
v0.0.0-...-4dc940c Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 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 Config

type Config struct {
	Env         string `yaml:"env" env-default:"local"`
	StoragePath string `yaml:"StoragePath" env-default:"./storage"`
	TdcPath     string `yaml:"TdcPath" env-required:"true"`
	TiPath      string `yaml:"TiPath" env-required:"true"`
}

func MustLoadConfig

func MustLoadConfig() *Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳