diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-27 15:24:30 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-27 15:24:30 +0100 |
| commit | cfed8b98cc5cf34193184b2614d0465494d1417f (patch) | |
| tree | 1449432881e5095fbaa5a989ca397f82749b32ea /internal/wireguard/ini/ini.go | |
| parent | 5e3251dd4c5cd147186951420d1cab40734ad676 (diff) | |
Ini: Fix Parse comment
Diffstat (limited to 'internal/wireguard/ini/ini.go')
| -rw-r--r-- | internal/wireguard/ini/ini.go | 3 |
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") |
