The Best Go Content on the Internet


How Do They Do It: Timers in Go

Contributed by

How Do They Do It: Timers in Go This article covers the internal implementation of timers in Go. Note that there are a lot of links to Go repo in this article, I recommend to follow them to understand the material better. Timers Timers in Go just do something after a period of time. They are located in the standard package time. In particular, timers are time.Timer, time.Ticker, and less obvious timer time.Sleep.

Read more...

Go, Nginx, and TLS Termination

Contributed by

With the advent of Let’s Encrypt, it’s now easier than ever before to ensure all of your web applications and services are behind HTTPS. However, many times it’s hard to realize the performance impact and overhead of using HTTPS on your applications. Should you terminate in Nginx? Go? Stunnel? ELBs? Luckily, it’s fairly easy to find out with a simple benchmark. We’ll put a Hello World server, written in Go, behind Nginx, set up as a TLS-terminating reverse proxy, and compare that to the native http.ListenAndServeTLS.

Read more...

Writing Go assembly functions with PeachPy

Contributed by

What is PeachPy PeachPy is a Python-based framework for writing modules in assembly. It automates away some of the details and allows you to use Python to generate repetitive assembly code sequences. PeachPy supports writing modules that you can use directly from Go for x86-64. (It also supports NaCl and syso modules, but I won’t cover those in this post.) This post is going to be mostly about what you need to know about integrating PeachPy and less a tutorial about PeachPy specifically.

Read more...

December Blog Series Introduction

Contributed by

2016 has been a great year for the Go language and the Go community. We love to celebrate the end of the year with a series of blog posts from the community on a wide variety of topics. Here are the articles from our previous three years: 2015 Posts 2014 Posts 2013 Posts As you can see from the quality of the past posts, you’re in for a treat this year.

Read more...

GopherCon 2017 - Website Call for Volunteers

Contributed by

Calling all Gophers! Many of you have asked how you can volunteer to help with GopherCon - and here’s a great opportunity! We’re doing our best to keep overhead costs down and apply the savings to an even better conference experience. Here’s where you come in… GopherCon 2017 is right around the corner and we haven’t created a website yet. We’re looking for a handful of Gophers to help build the site.

Read more...

GopherCon 2016 - Retrospective

Contributed by

GopherCon 2016 has come and gone, and in keeping with our tradition we wanted to write up a brief retrospective to capture some of the highlights of the event. It’s hard to believe it happened so quickly — we spend months planning all the details and then when the conference arrives it is over in the blink of an eye. This year we were joined by 1400 Gophers from 36 different countries.

Read more...

GopherCon 2016 - Lightning Talk Annoucement

Contributed by

GopherCon 2016 is going to be an amazing event, and this is your chance to be a part of it! First time speaker? Experienced Speaker? Have a package you want to talk about? Or perhaps you just have a great story about Go you want to share. The GopherCon lightning talks are there for you! You don’t have to be a “professional” speaker. Lightning talks are a great way to get some experience on the stage in a friendly and supportive environment.

Read more...

GopherCon Turns Three

Contributed by

tl;dr We’re excited for the third anniversary of GopherCon, so we’re offering a discount on tickets valid only on the anniversary of the conference. Humble Beginnings In 2013, Brian and I were lamenting the fact that there was no conference for Go. We were enjoying the language, using it everyday, and truly disappointed that there was no place for all Go enthusiasts to get together and learn. We decided that it couldn’t be too hard to run a conference, so we did what all good software people do: we registered a domain.

Read more...

2015 Year in Review

Contributed by

Looking back on 2015 has humbled us here at Gopher Academy. What an amazing year we’ve had. Let’s review some of the highlights: We’ve published dozens of community-written articles. The Go community created and ratified a Code of Conduct. We organized the third “Advent” series of articles, this year going all the way through the end of December. GopherCon attendees and supporters raised over $6,000 USD for the GopherCon scholarship fund.

Read more...

2D Game Libraries for Go

Contributed by

By now, we all know that Go is a great language for writing servers and command line tools. But what about games? Can you make desktop, web, or mobile games in Go too? The answer is yes, but not necessarily all at once… yet! Last summer, I set up shop at Comiket 88 and managed to sell a few copies of HOT PLUG, a simple 2D action game written in Go for OS X and Windows.

Read more...