SSJX.CO.UK
Content

Go Programming Guides

Below are guides to help you with your Go programming. They are all easy to understand with clear and complete examples.

Introduction

Making a Hello World program

Compiling Your First Program

There is a bit of ceremony to compiling Go programs so here is a 'Hello World!' from the beginning.

Smaller EXE files

Making Smaller Exe Files

After making your first Go program, your next thought may be 'Wow, that is a big file!', this guide shows how to reduce the file size!

How to use go ArrayList

Formatting Your Code

No more worrying about indentation or making your code look nice, just use 'go fmt'! Find out how to instantly make your code look pretty!

Programming Guides

How to use Go arrays

Arrays

Creating and using fixed length arrays. Find out how combining them with for loops can make your programs easier to understand! The example is creating an array of lottery numbers.

How to use Go arrays

Command Line Arguments

Learn how to pass command line arguments to your programs!

For loops in Go

For loops

Go has only one type of loop, the For Loop, this guide shows the many ways it can be used!

Functions in Go

Functions

Functions are self contained blocks of code that can help with code organisation and can be called multiple times reducing duplication.

Slices in Go

Slices - The Basics

In this guide we see how to use a Slice as a dynamic array!

Updated (20/06/2026)