Documentation ¶
Index ¶
Constants ¶
View Source
const FeedbackPkg = feedback.Package("templates")
Variables ¶
View Source
var ErrNameNotFound = errors.New("couldn't determine username")
Functions ¶
func GetUsername ¶
GetUsername tries to determine the name of the current user. It looks at the following things in order:
- git config user.name
- currently logged in user of the OS
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.