From 14a2ca2acdc82652091f2a96ae147c400205f342 Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Tue, 18 Feb 2025 00:34:16 -0800 Subject: [PATCH] add placehomer unexported unittypes for later --- structs.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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", +}