Documentation
¶
Overview ¶
Package rootcheck provides small OS-aware helpers for permission-sensitive tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRootUser ¶
func IsRootUser() bool
IsRootUser reports whether the current process is running as root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.