Package xlog provides leveled and structured logging. Please see godoc.
To run any example, please use the command like the following:
cd examples/
go run example1.go
To run all tests, please use the following command:
go test -v
To run all examples, please use the following command:
go test -v -run=^Example
To run all benchmarks, please use the following command:
go test -v -run=^Benchmark -bench=.