conf

package
Version: v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 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 added in v1.0.6

func ParseJson(c interface{}) error

解析配置文件

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

func ParseToml added in v1.0.6

func ParseToml(c interface{}) error

解析配置文件

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

func ParseYaml added in v1.0.6

func ParseYaml(c interface{}) error

解析配置文件

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

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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