diff --git a/structs.go b/structs.go index 41d8fe7..83c5af1 100644 --- a/structs.go +++ b/structs.go @@ -13,3 +13,18 @@ type Unit struct { Sub string Description string } + +var unitTypes = []string{ + "automount", + "device", + "mount", + "path", + "scope", + "service", + "slice", + "snapshot", + "socket", + "swap", + "target", + "timer", +}