JAXLO.NET
Home Book Reviews Sites Guestbook Go Tutorial

Chapter 1 - Hello World!

This is a tutorial series for building fullstack websites with Go.

This project is my capstone project for UVU's Integrated Studies degree. For more info about Go and the design decisions in this series, see LINK

Getting started

To get started, install Go and an IDE. I recommend VS Codium

In the terminal, make a new go module called site:

go mod init site

This creates a file declaring what Go version we are using. Once we install modules, this file will also track our imported modules and their versions.

Now, create a new file called `main.go` with the following code:

package main

import "fmt"

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