go-ify c2kv and kv2c