From cfed8b98cc5cf34193184b2614d0465494d1417f Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 27 Feb 2024 15:24:30 +0100 Subject: Ini: Fix Parse comment --- internal/wireguard/ini/ini.go | 3 +-- 1 file changed, 1 insertion(+), 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") -- cgit v1.2.3