Google’s Go team member Alan A. A. Donovan and Brian Kernighan, co-author of The C Programming Language, provide hundreds of interesting and practical examples of well-written Go code to help programmers learn this flexible, and fast, language.
2. Learning Go: An Idiomatic Approach to Real-World Go Programming
Go is rapidly becoming the preferred language for building web services. While there are plenty of tutorials available that teach Go’s syntax to developers with experience in other programming languages, tutorials aren’t enough.
3. Black Hat Go: Go Programming For Hackers and Pentesters
Black Hat Go explores the darker side of Go, the popular programming language revered by hackers for its simplicity, efficiency, and reliability. It provides an arsenal of practical tactics from the perspective of security practitioners and hackers to help you test your systems, build and automate tools to fit your needs, and improve your offensive security skillset, all using the power of Go.
Sleeping in Golang
Sleeping in Go and how to pause execution and sleep for a number of seconds in Go (golang). We can use the time package from the standard library to sleep for a duration of time. You can use any duration of time, providing you use the constants provided.
In our example below we sleep for two seconds, and to illustrate the point, we print out the time before and after we do this.
Install Latest Version of Go (Linux/OSX)
This article describes how to install the latest version of Go (golang). It also helpfully updates itself by pulling the latest version numbers directly, so you don’t have to go and dig out the latest version each time they release a version (yay!) - just copy and paste away. For more info, try their installer docs.
Hello world! Welcome to GopherCoding.com
Hello! This is our first post on GopherCoding.com where we’re going to list snippets of Go (as in Golang) code to make learning and building things easier.
A Bit of Background Go is a programming language, heavily backed by Google, and racing up the list of most popular languages to code in. It’s a statically typed, compiled language and is well known for it’s concurrency. Great for web applications, command lines tools and many other things.