wei-helpers
How to use this?
Install package
$ go get github.com/jayhuang75/wei-helpers
In your application main.go, import the package
import (
"github.com/jayhuang75/wei-helpers"
)
Example how to use
wei.Logging("info", fmt.Sprintf("[Main] Successful %d players info", len(players)))
wei.Logging("error", fmt.Sprintf("[Main] Marshal json failed: %s", err.Error()))