ref: 36c2256362c7ed26713b98b5cb6e9c6f3138448f
dir: /opossum_unix.go/
//go:build !plan9 // +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 }