Nigel's WebDAV package

Nigel Tao and Nick Cooper have been working on a new WebDAV package for the golang.org/x/net repository. The package is still in its formative stages, so this isn’t a review of the package itself.

Reading config files the Go way

In the middle of writing my blog engine dynocator, I wondered about the best possible way to read data from a config file. My first approach was to read line by line from the file and use the wonderful strings package to parse the data I want.

Macaron: Martini-style, but faster and cheaper

Macaron is a high productive and modular design web framework in Go. It takes basic ideology of Martini and extends in advance. Why another web framework?

String Matching

How do you search for a string? If it’s just once, strings.Index(text, pattern) is probably your best option. The standard library currently uses Rabin-Karp to search the text for the pattern.

Git2go inception

How many levels of inception we need to master git? This tutorial that explains how to use git2go to publish an article for the Go Advent 2014.

Context-Aware Handler Chains in Go (using Stack)

I've written a package for chaining context-aware handlers in Go, called Stack. It was heavily inspired by Alice. What do you mean by 'context-aware'? If you're using a middleware pattern to process HTTP requests in Go, you may want to share some data or context be...

Delve: Go debugger

Delve Delve is a Go debugger. Currently the project is in beta, with most of the functionality implemented, and various improvements and platform support on the way.

Handwritten Parsers & Lexers in Go

Handwritten Parsers & Lexers in Go In these days of web apps and REST APIs it seems that writing parsers is a dying art. You may think parsers are a complex undertaking only reserved for programming language designers but I’d like to dispel this idea.

Probabilistic Data Structures for Go

Imagine you had access logs for a very high traffic website. How would you determine how many different IP addresses accessed your site? Or how many hits from a particular IP?

Using Go for Anomaly Detection

As engineers, we need to know how our applications and services are performing in realtime and isolate any problems as quickly as possible. While there is a plethora of tools to collect, store and graph metrics from infrastructure, there are fewer tools for performing analysis on...