confparser

package
v0.0.0-...-3c81578 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDir

func ParseDir(dir string, i interface{}, kind string) error

ParseDir 配置文件路径保持在一个文件加下,直接读取文件夹下的文件进配置文件 i must be a struct

func ParseFile

func ParseFile(path string, i interface{}, kinds ...string) error

ParseFile parse file into interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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