Files
electron-egg/go/eps/process.go
gaoshuaixing b105128561 go
2023-09-20 19:46:51 +08:00

16 lines
204 B
Go

package helper
import (
"fmt"
"os"
"strings"
)
func GetEnv() {
envs := os.Environ()
for _, env := range envs {
cache := strings.Split(env, "=")
fmt.Printf("%v = %v\n", cache[0], cache[1])
}
}