This commit is contained in:
cubixle
2021-06-18 22:24:54 +01:00
parent ea33f7060b
commit cf2cc2a706
6 changed files with 50 additions and 50 deletions
+3 -1
View File
@@ -4,12 +4,14 @@ import (
"embed"
"io/ioutil"
"log"
"time"
)
//go:embed templates/*
var FS embed.FS
func main() {
tNow := time.Now()
// read config file
d, err := ioutil.ReadFile("tuugen.yml")
if err != nil {
@@ -59,6 +61,6 @@ func main() {
log.Fatalf("failed to run 'goimports': %v", err)
}
log.Println("------")
log.Println("🎉 All setup has been complete enjoy working on your business logic.")
log.Printf("🎉 All setup has been complete enjoy working on your business logic. took: %s\n", time.Since(tNow))
log.Println("------")
}