system

package
v1.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package system provides unified system lookup utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserGroups

func GetUserGroups(u *user.User) ([]string, error)

GetUserGroups returns all group names for a user

func LookupGroupID

func LookupGroupID(name string) (int, error)

LookupGroupID finds GID by group name Prefers os/user package, falls back to /etc/group parsing

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL