seefan / gossdb

ssdb client for go with pool surport
MIT License
131 stars 47 forks source link

Bitcount 返回值 byte 位数不够 #56

Closed zut closed 4 years ago

zut commented 4 years ago

Q1

根据 文档 bitcount 的范围值是 [0, 1073741824]

应该是需要 uint32/64类型

Q2

setbit 方法的 bit 需要时int类型,否者出错

func (s *Client) Setbit(key string, offset int, bit int)

seefan commented 4 years ago

已修正