Initial Go implementation.