Documentation ¶
Index ¶
- func Chown(file, user string) error
- func CreateUser(name string) error
- func DropRunAs(name string, debug bool, files ...*os.File) (*os.Process, error)
- func GetUserGUID(name string) (int, int, error)
- func HasElem(s interface{}, elem interface{}) bool
- func IsUserExist(name string) bool
- func SubtractStringSlice(slice, s []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasElem ¶
func HasElem(s interface{}, elem interface{}) bool
HasElem Helper function to find if a elem in a slice
func SubtractStringSlice ¶
SubtractStringSlice remove string from slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.