`const blocksize = 32 << 10` is more idiomatic Go, and quite common for Go code for KB.