/ascii-art

This is a Go-based project that generates ASCII art text banners in styles, including shadow, standard, and thinkertoy.

Primary LanguageGoMIT LicenseMIT

ASCII-ART

Description

This is a Go-based project that generates ASCII art text banners in styles, including shadow, standard, and thinkertoy.

Usage

front_page

The page shows where to enter our test and select desired banner

standard banner

The text was from a quote found on the book Learning Go, showing the STANDARD BANNER

“Go is unique and even experienced programmers have to unlearn a few things and think differently about software. Learning Go does a good job of working through the big features of the language while pointing out idiomatic code, pitfalls, and design patterns along the way.” —Aaron Schlesinger, Sr. Engineer, Microsoft

shadow banner

SHADOW BANNER

thinkertoy banner

THINKERTOY BANNER

Build

go run cmd/web/ascii-art.go

  • To produce the executable

go build cmd/web/ascii-art.go

Contributing

Contributions to this project are welcome! To contribute, fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Implementation details

  • I used the go embed directive to include the templates in the binary for faster loading.
  • Wrote a small middleware to feature HTPP verb routes.
  • Appropriate test and benchmarking