Go implementation.