Learning to code with Go | “Hello World!” with Go

Learning to code with Go | “Hello World!” with Go

This article is aimed at developers who are interested in learning one of the awesome programming languages from Google — “Go“. In the following “Hello World” example with Go, I will show you the detailed steps on how to install the Go environment, code and execute the “Hello World” binary, and finally, use golang playground to share your code with others.

This article is aimed at developers who are interested in learning one of the awesome programming languages from Google — “Go“. In the following “Hello World” example with Go, I will show you the detailed steps on how to install the Go environment, code and execute the “Hello World” binary, and finally, use _golang _playground to share your code with others.

What is Go ?

Here is how the Go development team describes the language on their home page.

“Go is an open-source programming language that makes it easy to build _**_simple_, _reliable_, and _efficient**_ software.”_

Well, that a little bit vague isn’t it? Let me explain a bit more, If you ever want a simple programming language to learn and a piece of code that compiles fast, executes fast, and makes it easy to distribute your work for others then Go is the programming language for you.

Go programming language is developed by 3 smart Google engineers — “Robert Griesemer, “Ken Thompson_” and “_Rob Pike. Some of the key goals of the Go programming language are :

  • Easy to learn and code.
  • Fast compilation.
  • Free up unused memory automatically (garbage collection)
  • Built-in concurrency (Software that performs multiple things at the same time).
  • Support for processors with multiple cores.

I will cover more details, features of this language in future posts. Let’s get the Go environment up and running.

Installing Go environment

Go language does not require a runtime for deploying applications, however, you need to download the development environment for writing the programs.

There are 7 simple steps in this post to run your first _Go _“Hello World”, bear with me.

go hello-world golang

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

What's new in the go 1.15

Go announced Go 1.15 version on 11 Aug 2020. Highlighted updates and features include Substantial improvements to the Go linker, Improved allocation for small objects at high core counts, X.509 CommonName deprecation, GOPROXY supports skipping proxies that return errors, New embedded tzdata package, Several Core Library improvements and more.

Go Tutorial (Golang) - Looping Constructs in Golang | Golang For Loop

In this video we will see the Looping Constructs in Golang. Golang For Loop. Go is an open source programming language which was originally developed by Google. In this Go Tutorial we will Learn Go from the Basics with Code Examples. Go is a statically-typed language.

Golang Array Example | Arrays in Go Tutorial Explained

Golang array is a fixed-size collection of items of the same type. The items of an array are stored sequentially and can be accessed using their index.

Go Tutorial (Golang) 18 - tags in Golang | How To Use Struct Tags in Go

Go struct tags are annotations that are shown after the type in a Go struct declaration. Golang tag for a field allows us to attach meta-information to the field which we can acquire using reflection

Android Hello World Program - Create Your First App in Android Studio

Learn how to start android development in android studio. This is a very simple android project & doesn't need to do much coding