Delivered once every Week. No Spam Ever.

Issue - 1


Worthy Read

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.


Projects

durafmt - 121 Stars, 2 Fork
:clock8: Better time duration formatting in Go!

quadtree-go - 72 Stars, 2 Fork
A Quadtree implemented in Go

GoAws - 63 Stars, 3 Fork
AWS Clone for Development testing

Bxog - 42 Stars, 1 Fork
Bxog is a simple and fast HTTP router for Go (HTTP request multiplexer).

gitkit - 15 Stars, 1 Fork
Smart HTTP git server for Go

agerotate - 10 Stars, 0 Fork
A flexible archive rotation library written in golang

net-rpc-gencode - 9 Stars, 0 Fork
high performance gencode library for creating Go RPC client/server.

prometheus_bot - 3 Stars, 0 Fork
Telegram bot for prometheus alerting

reddit - 1 Stars, 0 Fork
A simple go package that gets latest topics of a subreddit