package main import ( "os" "path/filepath" "edge-infra.dev/pkg/edge/controllers/bannerctl" "github.com/joho/godotenv" ) func main() { _ = godotenv.Load(filepath.Join("cmd", "bannerctl", ".env")) //if you want to test using env file in intellij if err := bannerctl.Run(); err != nil { os.Exit(1) } }