tss/app/app.go
2022-04-26 09:55:59 -04:00

21 lines
278 B
Go

package app
import (
"fmt"
"log"
"go.balki.me/tss/config"
)
func Run(configPath string) {
cfg, err := config.Parse(configPath)
if err != nil {
log.Fatal(err)
}
for _, feed := range c.Feeds {
log.Println("Processing feed", feed.Name)
}
fmt.Println(configPath)
}