• Daniel Theophanes's avatar
    common: rename package common to internal/common. Add ENV helper funcs. · 0af89525
    Daniel Theophanes authored
    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
    0af89525
Name
Last commit
Last update
..
common.go Loading commit data...
common_darwin.go Loading commit data...
common_freebsd.go Loading commit data...
common_linux.go Loading commit data...
common_test.go Loading commit data...
common_unix.go Loading commit data...
common_windows.go Loading commit data...