A basic stdout shout printer (prints values as json objects) with few colors and caller reference.
Use go get
to download the dependency.
go get github.com/sfate/amapretty@latest
Then, import
it in your Go files:
import "github.com/sfate/amapretty"
This lib comes with Print
function which accepts any type (and amount) of interface(-s).
amapretty.Print("string value")
amapretty.Print([]struct { Name string }{ { Name: "One" }, { Name: "Chosen" } })