Documentation ¶ Overview ¶ Package appname derives the invoking binary's display name from os.Args[0]. Index ¶ func Binary() (string, bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Binary ¶ func Binary() (string, bool) Binary returns the base name of the invoking binary with any Windows ".exe" extension stripped. It reports false when no usable name can be derived: an empty os.Args slice, an empty argv[0], or a Go test runner binary (".test" suffix). Types ¶ This section is empty. Source Files ¶ View all Source files appname.go Click to show internal directories. Click to hide internal directories.