others.go 243 B

12345678910111213141516
  1. // +build !windows
  2. package platform
  3. import (
  4. "os"
  5. )
  6. type otherPlatformEnvironment struct {
  7. }
  8. var environmentInstance = &otherPlatformEnvironment{}
  9. func (e *otherPlatformEnvironment) ExpandEnv(s string) string {
  10. return os.ExpandEnv(s)
  11. }