userKit

package
v3.0.90 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGid added in v3.0.24

func GetGid() string

GetGid primary group ID

func GetName

func GetName() string

func GetUid added in v3.0.24

func GetUid() string

GetUid user ID

func GetUserHomeDir

func GetUserHomeDir() string

GetUserHomeDir 获取当前用户的目录.

@return 必定不为"" && 是个存在的目录

e.g. () => "/Users/richelieu"

func GetUserName

func GetUserName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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