Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

reckhou/goCfgMgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goCfgMgr

A Json config manager written by Golang.

Usage

go get github.com/reckhou/goCfgMgr

In code:

import "github.com/reckhou/goCfgMgr"

The config is a json format text file including 3 sections by default:basic, projects, additional.

For example, if you want to get Port param under basic section, you might use this code:

goCfgMgr.Get("basic", "Port").(string)

For more usage, just read the code, it's simple & elegant(for a noob gopher). :)

About

A Json config manager written by Golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages