Go

mihalis's picture

GOOS + GOARCH combinations

If you want to see all valid OS/architecture pairs in Go, you should execute the following command:

$ go tool dist list

The output will be like the following:

aix/ppc64
android/386
android/amd64
...

(The GOOS value is first and the GOARCH value is second)

Tags: 
mihalis's picture

Mastering Go - Second Edition

Mastering Go - 2nd Edition.

Mastering Go - Second Edition: Create Golang production applications using network libraries, concurrency, machine learning, and advanced data structures.

The Amazon.com page of the book is here. You can also visit the web page of the book at Packt.

Image: 
Tags: 
mihalis's picture

Using the context Go package

I wrote "Using the context Go package" for https://www.linode.com/.

https://www.linode.com/docs/development/go/go-context/

You can find more information about the context package at https://golang.org/pkg/context/.

mihalis's picture

Using Cobra and Go to Create Command Line Utilities

I wrote "Using Cobra and Go to Create Command Line Utilities" for Linode.

You can find the guide at https://www.linode.com/docs/development/go/using-cobra/.

More guides to come!

Tags: 

Pages

Subscribe to RSS - Go