Learn Go: Hello World Program in Golang #3

In this tutorial, I will be embarking on a mission to help get you up and running with the language

Gopher

Lets go!!

Published · Jan 13


Go is an absolutely incredible language to build a wide variety of different applications in. From command-line interfaces to distributed microsystems and even cloud platforms, its’ simplicity and concurrency baked in makes it a powerful choice of language for many development teams.

In this tutorial, I will be embarking on a mission to help get you up and running with the language so that you can go off and build ever-more brilliant applications and help push forward technology.


We’ll be focusing on getting a really simple Hello World style application up and running. Once you’ve got everything working correctly, we can start the rest of our journey learning the more complex aspects of the language such as functions, methods, and eventually things like concurrency and reflection.
. . .

Prerequisites

Before you can follow this article, you will need the Go installed on your development machine. If you need to install this you should check out the the page: Golang Installation, Setup, GOPATH, and Go Workspace

Getting Started

Let’s dive in with getting everything installed and writing an incredibly simple program to get our toes wet.

First hello world program, we’ll want to add the following code:
package main

import (
"fmt"
)

func main() {
fmt.Println("Hello, playground")
}
Congratulations -You have successfully written, run and compiled your first Go application!
. . .

Conclusion

So, in this simple tutorial, we managed to successfully start our journey into the world of Go development
. . .

. . .

Never miss a post from Gopher , when you sign up for Ednsquare.