Simple helpers for formatting terminal output
w := term.New()
w.Set(term.Yellow)
link := w.With(term.Blue, term.Underline)
fmt.Fprintf(w, "The url %s is used for examples\n", link.Render("https://example.com/"))
$ go get github.com/madss/term
MIT
Mads Sejersen (a.k.a madss on github)