Golang works too. There is a few databases written in Golang, such as Prometheus, InfluxDB, CockroachDB, or tidb.
There's also DGraph based on Badger as a storage engine which is an all-go stack.
And badger does compare favorably to rocksdb under certain workloads.
We do, now. We're looking to move away from RocksDB to https://github.com/cockroachdb/pebble/.
[1] https://github.com/VictoriaMetrics/VictoriaMetrics
[2] https://github.com/klauspost/compress/tree/master/zstd#zstd