func (i *IDAlloc) GetUserID() (int64, error) {
	return i.idGenerator.GetNewID("user_id", 1)
}
GetUserID generate user id from redis
package pkg
import "github.com/go-eagle/eagle/pkg/redis"
type IDAlloc struct {
	idGenerator *redis.IDAlloc
}
func NewIDAlloc() *IDAlloc {
	return &IDAlloc{
		idGenerator: redis.NewIDAlloc(redis.RedisClient),
	}
}