/wei-helpers

Go helpers

Primary LanguageGo

wei-helpers

Build Status codecov Go Report Card

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()))