mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-30 14:05:26 -05:00
prototype of platform specific code
This commit is contained in:
10
common/platform/platform.go
Normal file
10
common/platform/platform.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Package platform provides platform specific functionalities.
|
||||
package platform
|
||||
|
||||
type environment interface {
|
||||
ExpandEnv(s string) string
|
||||
}
|
||||
|
||||
func ExpandEnv(s string) string {
|
||||
return environmentInstance.ExpandEnv(s)
|
||||
}
|
||||
Reference in New Issue
Block a user