conf

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseJson

func ParseJson(c interface{}) error

解析配置文件

c: 需要解析的相对应的结构体指针,例:conf_test.go

func ParseToml

func ParseToml(c interface{}) error

解析配置文件

c: 需要解析的相对应的结构体指针,例:conf_test.go

func ParseYaml

func ParseYaml(c interface{}) error

解析配置文件

c: 需要解析的相对应的结构体指针,例:conf_test.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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