8 lines
83 B
Go
8 lines
83 B
Go
|
package helpers
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
func IsRootUser() bool {
|
||
|
return os.Geteuid() == 0
|
||
|
}
|