head.daveops.net

Snippets for yer computer needs

Go

Syntax cheatsheet

package main

import(
        "fmt"
)

func main() {
        fmt.Println("hello world")
}

Cross-compilation

# Compile for AMD64 Linux
GOOS=linux GOARCH=amd64 go build

https://golang.org/doc/install/source#environment

Resources

Looking into