mirror of
https://github.com/safing/portbase
synced 2025-04-22 18:29:09 +00:00
15 lines
201 B
Go
15 lines
201 B
Go
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)
|
|
}
|