README.md 605 B

Getting Started

Installing

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

$ go get -u git.listensoft.net/tool/lxutils

Get a value

Get searches json for the specified path. A path is in dot syntax, such as "name.last" or "age". When the value is found it's returned immediately.

package main

import (
	"git.listensoft.net/tool/lxutils"
	"git.listensoft.net/tool/lxutils/lxlog"
	"git.listensoft.net/tool/lxutils/lxzap"
)

func main() {
	lxutils.Aa()
	lxlog.InitLog()
	err := lxzap.InitLogger(lxzap.LogConfig{})
	if err != nil {
		panic(err.Error())
	}
}