osext

package
v4.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OsExt

type OsExt struct {
	// contains filtered or unexported fields
}

Внутренняя структура объекта пакета.

func New

func New() (ost *OsExt)

New Конструктор объекта пакета.

func (*OsExt) Executable

func (ost *OsExt) Executable() (string, error)

Executable returns an absolute path that can be used to re-invoke the current program. It may not be valid after the current program exits.

func (*OsExt) ExecutableFolder

func (ost *OsExt) ExecutableFolder() (ret string, err error)

ExecutableFolder Returns same path as Executable, returns just the folder path. Excludes the executable name and any trailing slash.

Jump to

Keyboard shortcuts

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