spiegel/main.go
Ada 8f63ef0401
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
🎉 First commit
2024-04-04 01:19:56 +02:00

17 lines
310 B
Go

package main
import (
"git.gnous.eu/ada/git-mirror/internal/config"
"github.com/sirupsen/logrus"
)
func main() {
initConfig, err := config.LoadToml("config.example.toml")
if err != nil {
logrus.Fatal(err)
}
initConfig.Log.Init()
logrus.Info("Config loaded")
logrus.Debug("Config: ", initConfig)
}