v2ray-core/common/platform/others.go

17 lines
243 B
Go
Raw Normal View History

2015-10-09 14:48:05 +00:00
// +build !windows
package platform
import (
"os"
)
type otherPlatformEnvironment struct {
}
var environmentInstance = &otherPlatformEnvironment{}
func (e *otherPlatformEnvironment) ExpandEnv(s string) string {
return os.ExpandEnv(s)
}