I'm not familiar with Go, but was looking through the source code and saw this:
encrypted = secretbox.Seal(nonce[:], chunk, &nonce, &key)
Is secretbox [1] a standard Go library?