Documentation
¶
Overview ¶
Package osx contains operating system utilities. It means to be a complement to the standard os package.
Index ¶
Constants ¶
View Source
const ( // Arch32bit tells if the target architecture is 32-bit. Arch32bit = maxUint == 0xffffffff // Arch64bit tells if the target architecture is 64-bit. Arch64bit = uint64(maxUint) == 0xffffffffffffffff )
Variables ¶
This section is empty.
Functions ¶
func OpenDefault ¶
OpenDefault opens the specified file or URL with the default associated application.
You may use it to open a web site:
OpenDefault("https://google.com")
Or open a file:
OpenDefault("/home/bob/story.txt")
Or open a folder in your default file manager:
OpenDefault("/home/bob")
For details, see https://stackoverflow.com/a/39324149/1705598
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.