This post contains details about using golang programming language to read input from user
Read this post on iotenthu.com