/ mozey.co / blog

golang resources

January 1, 2016

Effective go

Go koans

An Introduction to Programming in Go

Go by example

Go web examples

Golang bootcamp

The Go Programming Language Specification

The little go book


Go at Google: Language Design in the Service of Software Engineering

5 things about programming I learned with Go

🔗 Naming conventions

🔗 Conventions for filenames

File names that begin with “.” or “_” are ignored by the go tool

Files with the suffix _test.go are only compiled and run by the go test tool.

Files with os and architecture specific suffixes automatically follow those same constraints, e.g. name_linux.go will only build on linux, name_amd64.go will only build on amd64. This is the same as having a //+build amd64 line at the top of the file