ref: 35f58b7553f6ebeeaabcdba5b6950f312463e3b8
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 }