A starter checklist is useful for exactly one reason: it removes the small decisions that stop you opening the editor. Everything below can be done in a couple of hours, and none of it requires buying anything. Work through it once, then get on with writing programs.
Toolchain and terminal
- Install Go from the official download page and confirm it with
go version. - Check that
go env GOPATHreturns a path you recognise and can find in your file manager. - Learn to open a terminal in a folder, because that is how every command will run.
- Try
go run, thengo build, on the same file and notice the difference.
Editor setup
Pick one editor and give it a Go extension with formatting on save, then stop configuring. The useful minimum is syntax highlighting, gofmt on save, and the ability to jump to a definition. A debugger is nice to have and can wait; plenty of Go developers work for years with fmt.Println and a careful read of the code.
Your first repository
Create a folder, run go mod init with a name that makes sense to you, and write your first file inside it. Add a .gitignore, initialise git, and commit once the program runs. This step also gives you a place to keep notes, which is more valuable than it sounds: a notes.md with commands and error messages you have solved becomes a personal manual within weeks.
Things to know before you search
- Where the standard library documentation lives, and that
go docworks offline. - What a compile error looks like versus a runtime panic, and that the first line of the message is usually the useful one.
- That a package is a folder, and
mainis where a program starts. - That
go testexpects files ending in_test.goin the same folder.
A first-week target
Write four programs: one that prints, one that reads a command-line argument, one that reads a file, and one that serves a page on localhost. Save each in its own repository or as a separate folder, and reread the oldest one at the end of the week. If you can explain every line without help, the checklist did its job.
Do I need a special computer?
No. Go runs comfortably on modest hardware, including older laptops. A machine that can run an editor and a browser is enough for everything on this list.
What if the install goes wrong?
Read the error and check the path first, since most failed installs are path problems. If it stays confusing, ask in a beginner forum with the exact message; that is a normal part of setup.
This checklist is short on purpose. Once the toolchain works, one editor is configured, and one repository exists, further preparation has diminishing returns. The remaining work is simply programs, and there is no checklist that writes them for you.