13 lines
179 B
Go
13 lines
179 B
Go
|
// +build windows
|
||
|
|
||
|
package portname
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"path/filepath"
|
||
|
)
|
||
|
|
||
|
func servicesPath() string {
|
||
|
return filepath.Join(os.Getenv("WINDIR"), `system32\drivers\etc\services`)
|
||
|
}
|