Skip to content

sfate/amapretty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amapretty

A basic stdout shout printer (prints values as json objects) with few colors and caller reference.

Usage

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" } })

Preview

asciicast

License

MIT

About

Basic pretty print lib for golang

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors