contractor/main.go
kjuulh 81308eeb93
feat: with main loop
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-08-08 14:15:19 +02:00

20 lines
298 B
Go

package main
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)
}
}