1
0
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:
Maksym Pavlenko
2019-10-29 14:38:29 -07:00
parent cce3728828
commit 616fac57fd
18 changed files with 314 additions and 914 deletions

View File

@@ -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)