whoami

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT-0 Imports: 3 Imported by: 0

Documentation

Overview

return current user.

SYNOPSIS

whoami

DESCRIPTION

whoami displays your effective user ID as a name.

SEE ALSO

https://golang.org/pkg/os/user/#User
https://golang.org/pkg/os/user/#Current

REFERENCES

https://linux.die.net/man/1/whoami

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Whoami

func Whoami()

Whoami displays your effective user ID as a name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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