Member-only story
Golang Syntax
Getting started with Go: Part 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Related Stories: Golang
💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In my first post, I explained why you might want to use Go and some of the security benefits of Golang concurrency. Next, I explained how to install Go on an AWS EC2 Instance, including some cloud security recommendations and considerations.
If you’re new to programming, you’ll probably want to learn about if/then statements, for loops, and other general programming constructs first. These apply to almost every language. Many good programming books for beginners exist. Once you know what a switch statement does, for example, the reference below explains how to write one in Go.
As an experienced programmer, whenever I start learning a new language, I first want to understand the basic constructs and how that relates to the programming languages I already know. Each language has similarities and differences. This post does not explain how to write Go programs. That will come later. The information below is a high-level overview and reference of Golang programming syntax.
If you want to take a tour of go and try out some code in action, you can try out this nifty tour to see the constructs and type code online.








