From f3ebd678a892c2d8e95afa59ddd9e56bf0348a1c Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Sat, 5 Oct 2024 22:37:14 -0400 Subject: [PATCH] feat: print all environment variables --- cmd/joj3/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/joj3/main.go b/cmd/joj3/main.go index a211105..0fd6385 100644 --- a/cmd/joj3/main.go +++ b/cmd/joj3/main.go @@ -108,6 +108,9 @@ func init() { } func mainImpl() error { + for _, e := range os.Environ() { + fmt.Println(e) + } if err := setupSlog(""); err != nil { // before conf is loaded return err }