Implementing a DHT in Go, part 1 - for those who want to see more Go code, here is a rather interesting example: a distributed hash table (i.e. key/value pairs distributed across many nodes). The first part deals with the buckets and the routing table, the next part will then add the network protocol.