ref: 2943c008d441d85701adc3e7c17b3b2ade061711
dir: /opossum_unix.go/
//go:build !plan9 package opossum import ( "fmt" "os/user" ) const PathPrefix = "opossum" 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 }