Golang implementation of swarm