This project bloom filter implementation using Murmur3 hash by github.com/spaolacci/murmur3.
import "github.com/AccelByte/bloom"
// create new filter with size of 100
// with default Murmur3 hashing strategy
// and 1.e-5 expected false positive probability
b := bloom.New(100)
b.Put([]byte("an_item"))
b.MightContain([]byte("an_item"))
exported, _ := b.MarshalJSON()
bloomFilterJSON := &bloom.FilterJSON{}
json.Unmarshal(exported, bloomFilterJSON)
newB := bloom.From(bloomFilterJSON.B, bloomFilterJSON.K)