package
0.0.0-20210701125856-7935e3348d7c
Repository: https://github.com/danos/utils.git
Documentation: pkg.go.dev

# Functions

List returns a list of all group entries on the system.
Lookup looks up a group by its name.
LookupId looks up a group by its gid.
LookupUId returns a list of groups a given userid is associated with.If the no groups can be found, the error is of type user.UnknownUserIdError.
LookupUser returns a list of groups a given username is associated with.If the no groups can be found, the error is of type user.UnknownUserError.

# Structs

Group represents a group entry.

# Type aliases

UnknownGroupError is returned by Lookup when a group cannot be found.
UnknownGroupIdError is returned by LookupId when a group cannot be found.