feat: print all environment variables

This commit is contained in:
张泊明518370910136 2024-10-05 22:37:14 -04:00
parent bb63cb65ba
commit f3ebd678a8
GPG Key ID: D47306D7062CDA9D

View File

@ -108,6 +108,9 @@ func init() {
} }
func mainImpl() error { func mainImpl() error {
for _, e := range os.Environ() {
fmt.Println(e)
}
if err := setupSlog(""); err != nil { // before conf is loaded if err := setupSlog(""); err != nil { // before conf is loaded
return err return err
} }