Add test package for testing GetServiceNames

This commit is contained in:
Daniel 2019-05-06 10:49:33 +02:00
parent 3a7a21495d
commit 8493fcdc93
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,15 @@
package main
import (
"fmt"
"github.com/Safing/portbase/utils/osdetail"
)
func main() {
names, err := osdetail.GetAllServiceNames()
if err != nil {
panic(err)
}
fmt.Printf("%+v\n", names)
}

BIN
utils/osdetail/test/test.exe Executable file

Binary file not shown.