conf

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

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(confFile interface{}) (err error)

GetConfig GetConfig

func GetConfigByKey

func GetConfigByKey(key string, confFile interface{}) (err error)

GetConfigByKey GetConfigByKey

func InitConfig

func InitConfig(conf *Conf) (err error)

InitConfig InitConfig

Types

type Conf

type Conf struct {
	FilePath string //  ./xxx/xxx.toml
}

Jump to

Keyboard shortcuts

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