grahamking/Key-Value-Polyglot — pull request #2 by surma (2012-03-21 08:28:30+00:00)
Title: Idioms of Go

A few little changes to make the Go file look more idiomatic so people who don’t know Go the right feeling for it ;)

* Use `flag` package for command line flags. Although it is rather uncommon for Go programs to have double-dashed options, I did not change that for the sake of compatibility
* Automatically close a connection when `handleConn()` is done