Commit 19109ee1
19109ee13cf2Merged
Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 3 files ยท +2 added ยท ~1 modified
Description
feat: schema is external binary for generating json schema
Signed-off-by: Dmitriy Zhilyaev [email protected]
Details
- Commit
- 19109ee13cf2
- Parent
- f4947ffe36cc
cmd/helmwave/dotenv.goaddedView file
1+
package main2+
3+
import (4+
"os"5+
6+
"github.com/joho/godotenv"7+
log "github.com/sirupsen/logrus"8+
)9+
10+
func dotenv() {11+
if _, err := os.Stat(".env"); err == nil {12+
err = godotenv.Load()13+
if err != nil {14+
log.Fatalf("Error loading .env file: %s", err)15+
}16+
}17+
}cmd/helmwave/main.gomodifiedView file
Loading diffโฆ
cmd/schema/main.goaddedView file
Loading diffโฆ