Skip to content

Introduction

Having become proficient with Python and web frameworks such as Django and FastAPI, I wanted to replicate building microservice web applications in a complied language. There are a lot of options here but Go is probably best suited for web serving applications.

However the Go language has a much leaner standard library than Python, and where you can get much further faster with Python and it's PyPi packages, writing Go seem a little lower level. Go: Install/Update Tools The trade off is of course the size and performance of the final applications.

IDE

VSCodium is a Free/Libre Open Source Software Binaries of VS Code.

But if you want the official version see https://code.visualstudio.com/docs/setup/linux

Control + P

ext install golang.Go

Open the Command Pallette (Control + Shift + P)

Go: Install/Update Tools

Hello World

mkdir hello && cd hello
go mod init hello
main.go
package main

func main() {
    println("Hello, Gophers!")
}
go run .