]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nsscache: add comment
authorSimon Ruderich <simon@ruderich.org>
Sat, 8 Jun 2019 13:54:35 +0000 (15:54 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 8 Jun 2019 13:54:35 +0000 (15:54 +0200)
group.go

index 7cc084187d15f613d140f251eef5cfdfea0d4751..b7f7d1b8e8b9c4ce71252570c5d9cc6182b972d9 100644 (file)
--- a/group.go
+++ b/group.go
@@ -39,6 +39,8 @@ type Group struct {
        Gid     uint64
        Members []string
 }
+
+// Go does not support slices in map keys; therefore, use this separate struct
 type GroupKey struct {
        Name    string
        Passwd  string