How it works...

Verify whether Go has been installed successfully for the ec2-user by executing the go version command, as follows:

[ec2-user@ip-172-31-34-99 ~]$ go versiongo version go1.8.4 linux/amd64

Get Go Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.