X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=group.go;h=0ad86711431d068ff0922ceace8c39cdba01a1a0;hb=424a573023a06c50fd8dad43174c12c42f7dada5;hp=4513758df41c4a8d22eb32f8fac5653e773ca3dd;hpb=1d028880cfb17a7c8a9e3b1f54cf1e980baca63d;p=nsscash%2Fnsscash.git diff --git a/group.go b/group.go index 4513758..0ad8671 100644 --- a/group.go +++ b/group.go @@ -45,7 +45,7 @@ type GroupKey struct { Name string Passwd string Gid uint64 - Members string + Members string // "," separated } func toKey(g Group) GroupKey { @@ -58,7 +58,7 @@ func toKey(g Group) GroupKey { } // ParseGroups parses a file in the format of /etc/group and returns all -// entries as Group structs. +// entries as slice of Group structs. func ParseGroups(r io.Reader) ([]Group, error) { var res []Group