You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/internal/common
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
10 years ago
..
common.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_darwin.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_freebsd.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_linux.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_test.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_unix.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
common_windows.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago