rsdic is a Go library for rank/select dictionary, and support rank/select operations efficiently, and space-efficient for both sparse and dense bit arrays.