// Print a simple string with the 'standard' figlet font package main import ( "fmt" "github.com/probandula/figlet4go" ) // String to be printed const str string = "Default" func main() { // Create the renderer ascii := figlet4go.NewAsciiRender() // Render the string renderStr, _ := ascii.Render(str) // Print the string fmt.Print(renderStr) }