package coreutils import ( "fmt" "os" ) // PrintStrings prints each string in strings on a new line func PrintStrings(strings []string) { for _, str := range strings { fmt.Println(str) } } // PrintEnv prints all environment variables func PrintEnv() { PrintStrings(os.Environ()) }