Ported kv2c to Go
Ported kv2c to Go