forked from gsn/predictor
feat: remove redis
This commit is contained in:
parent
7a9f81e527
commit
a850615e1f
18 changed files with 170 additions and 1142 deletions
|
|
@ -8,16 +8,14 @@ import (
|
|||
)
|
||||
|
||||
type Service struct {
|
||||
cfg *Config
|
||||
redis Redis
|
||||
grib Grib
|
||||
cfg *Config
|
||||
grib Grib
|
||||
}
|
||||
|
||||
func New(cfg *Config, gribService Grib, redisService Redis) (*Service, error) {
|
||||
func New(cfg *Config, gribService Grib) (*Service, error) {
|
||||
svc := &Service{
|
||||
cfg: cfg,
|
||||
redis: redisService,
|
||||
grib: gribService,
|
||||
cfg: cfg,
|
||||
grib: gribService,
|
||||
}
|
||||
|
||||
return svc, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue