I am a photoholic and love freezing moments in time with my mobile phone.
TL;DR There's a simple way to output Ascii Art in your command line program if you don't need all the bells and whisles that comes with the external specialized go packages.
Ascii Arts are always fun. Few days back I finished writing a small utility that automates the code generation for the Frontend in my project. It is a command line tool and is meant to be executed on the console (command prompt as its called on Windows). I wanted to print a nice Ascii art whenever it runs. I did some research online and found two options.
I came up with a simple solution that should be obvious for most developers. Guess what ? Simply print the ascii art as string on console using fmt.Println() 😉 This meets my simple requirement. The only con is that I can’t generate dynamic Ascii Arts.
And here’s the short and sweet output: