~/alonge.dev — kickstarting-your-journey-with.md
home.mdessays/kickstarting-your-journey-with.md
👁 preview
title:kickstarting your journey with go: the absolute beginners guide
date:2023-06-04
read:5 min
tags:[golang, programming, beginners]
series:none
aliases:[kickstarting-your-journey-with-go-the-absolute-beginners-guide]

kickstarting your journey with go: the absolute beginners guide

golangprogrammingbeginners

a step-by-step breakdown of a go program — learn the fundamentals including installation, program structure, and packages.

Kickstarting Your Journey with Go: The Absolute Beginners Guide

Introduction

Welcome to Go programming! Go (Golang) is an open-source language developed at Google — simple yet powerful, with efficiency akin to C++ and ease of use like Python.

Installation & Setup

  • Windows: MSI installer from golang.org/dl
  • macOS: brew install go
  • Linux: sudo apt-get install go

The Structure of a Go Program

package main

import "fmt"

func main() {
    fmt.Println("Hello, Gophers!")
}

Packages and Imports

import (
    "fmt"
    "math"
)

func main() {
    fmt.Println(math.Sqrt(16))
}

Watch the YouTube video for more. Happy Coding, Gophers!

don't miss the next note

open the next note in your inbox.

i'll send each new essay the morning it ships. nothing else.

connected·essays/2023/kickstarting-your-journey-with-go-the-absolute-beginners-guide.md·PREVIEW93 words·607 chars·ln 1, col 1·● saved