Skip to content

tloto/kConf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Installing

To start using kConf, install Go and run go get:

$ go get github.com/tloto/kConf

Get a value

package main

import "github.com/tloto/kConf"

func init(){
    kConf.SetFiePath("./test.json")
}

func main() {
	str := kConf.GetConfString("compilerOptions.module")
	fmt.println(str)
}

This will print:

test

About

pase config json file

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages