Google's Go language also cracked the top five. Coming in at No. 3, it brings users a 20 percent pay boost. Ruby slipped in at No. 20 with a 12.3 percent boost.
Picked from dave cheney's twitter post here https://twitter.com/davecheney/status/732910918493868033
In this post I am going to explain how to embed database migration sqls within application binary and how can we utilize the Golang build tags to maintain both embedded and non-embedded versions of database migrations.
After a recent comparison of Python, Ruby, and Golang for a command-line application I decided to use the same pattern to compare building a simple web service. I have selected Flask (Python), Sinatra (Ruby), and Martini (Golang) for this comparison. Yes, there are many other options for web application libraries in each language but I felt these three lend well to comparison.
We are doing a little secret project, but for it to succeed we need your help. How ? We would love for you (yes, you!) to draw a little Go gopher and send it to us. It doesn't matter if you think you can't draw. (You can, y'know.)
Coming from a Java background, testing with Go has been a struggle from the beginning for me. For simple unit testing, there are simple enough guides for doing it, but what about the more complex cases? What if I use a library like Echo, should I test what a middleware function returns? How do I mock data needed by the function?
A suffix array is an ingenious data structure that lets us take a large body of text (or any binary data, for that matter), preprocess it and then be able to find any substring in this text in logarithmic time. And the coolest thing is that a suffix array only requires O(n) space and can be constructed efficiently. For more details, turn to the Wikipedia page on Suffix Arrays - it's pretty good.
This document outlines best practices for writing high-performance Go code. At the moment, it's a collection of links to videos, slides, and blog posts ("awesome-go-performance"), but I would like this to evolve into a longer book format where the content is here instead of external. The links should be sorted into categories.
:clock8: Better time duration formatting in Go!
A Quadtree implemented in Go
AWS Clone for Development testing
Bxog is a simple and fast HTTP router for Go (HTTP request multiplexer).
Smart HTTP git server for Go
A flexible archive rotation library written in golang
high performance gencode library for creating Go RPC client/server.
Telegram bot for prometheus alerting
A simple go package that gets latest topics of a subreddit