seefan / gossdb

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

undefined: gossdb.Config #28

Closed youmisun closed 7 years ago

youmisun commented 7 years ago
pool, err := gossdb.NewPool(&gossdb.Config{
    Host:             "127.0.0.1",
    Port:             6380,
    MinPoolSize:      5,
    MaxPoolSize:      50,
    AcquireIncrement: 5,
})

使用上面代码时,出现了undefined: gossdb.Config的问题

seefan commented 7 years ago

请使用conf.Config,说明文件里出现了错误,已修正。