ref: 6fea339d0e40d598f093146c0d096b64e2e10c91
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 }