summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/wireguard/ini/ini.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/wireguard/ini/ini.go b/internal/wireguard/ini/ini.go
index 597fd83..83fc614 100644
--- a/internal/wireguard/ini/ini.go
+++ b/internal/wireguard/ini/ini.go
@@ -185,8 +185,7 @@ func (i *INI) String() string {
return out.String()
}
-// Parse returns a slice of sections
-// we do not return a map as we want to ensure the same ordering of sections, keys and values
+// Parse returns the INI struct from a string `f`
func Parse(f string) INI {
lines := strings.Split(f, "\n")