]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - group.go
nsscash: improve comments
[nsscash/nsscash.git] / group.go
index 4513758df41c4a8d22eb32f8fac5653e773ca3dd..0ad86711431d068ff0922ceace8c39cdba01a1a0 100644 (file)
--- 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