mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Implement basic feed updater
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
"golang.org/x/sync/errgroup"
|
||||
|
||||
"github.com/mxpv/podsync/pkg/config"
|
||||
"github.com/mxpv/podsync/pkg/web"
|
||||
)
|
||||
|
||||
type Opts struct {
|
||||
@@ -48,7 +47,7 @@ func main() {
|
||||
log.WithError(err).Fatal("failed to load configuration file")
|
||||
}
|
||||
|
||||
srv := web.New(cfg)
|
||||
srv := NewServer(cfg)
|
||||
|
||||
group.Go(func() error {
|
||||
log.Infof("running listener at %s", srv.Addr)
|
||||
|
||||
Reference in New Issue
Block a user