Documentation ¶ Index ¶ func Force(path string, currentWorkingDir string, arguments ...string) error func Is() bool func Make(funcsUp int) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Force ¶ func Force(path string, currentWorkingDir string, arguments ...string) error Force will attempt to run the program as admin If succeeded, the program will exit with code 0 The next time the program is restarted, the global hasAdmin variable will be true, and the program will not attempt to elevate again func Is ¶ func Is() bool func Make ¶ func Make(funcsUp int) error Types ¶ This section is empty. Source Files ¶ View all Source files admin.go Click to show internal directories. Click to hide internal directories.