ref: b61213d33be35446f1fff9efcb83adbb3eaf4d54
dir: /opossum_unix.go/
// +build !plan9 package opossum import ( "fmt" "os/user" ) func Group(u *user.User) (string, error) { g, err := user.LookupGroupId(u.Gid) if err != nil { return "", fmt.Errorf("get group: %w", err) } return g.Name, nil }