feat: with main loop

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-08 14:15:19 +02:00
parent 742457ad42
commit 81308eeb93
5 changed files with 702 additions and 63 deletions

View File

@@ -4,9 +4,15 @@ import (
"log"
"git.front.kjuulh.io/kjuulh/contractor/cmd/contractor"
"github.com/joho/godotenv"
)
func main() {
err := godotenv.Load()
if err != nil {
log.Println("DEBUG: no .env file found")
}
if err := contractor.RootCmd().Execute(); err != nil {
log.Fatal(err)
}