Book Image

Go Programming Blueprints

By : Mat Ryer
Book Image

Go Programming Blueprints

By: Mat Ryer

Overview of this book

Table of Contents (17 chapters)
Go Programming Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Five simple programs


In this chapter, we will build five small programs that we will combine together at the end. The key features of the programs are as follows:

  • Sprinkle: This program will add some web-friendly sprinkle words to increase the chances of finding available domain names

  • Domainify: This program will ensure words are acceptable for a domain name by removing unacceptable characters and replacing spaces with hyphens and adding an appropriate top-level domain (such as .com and .net) to the end

  • Coolify: This program will make a boring old normal word into Web 2.0 by fiddling around with vowels

  • Synonyms: This program will use a third-party API to find synonyms

  • Available: This program will check to see whether the domain is available or not using an appropriate WHOIS server

Five programs might seem like a lot for one chapter, but don't forget how small entire programs can be in Go.

Sprinkle

Our first program augments incoming words with some sugar terms in order to improve the odds of finding...