26 lines
649 B
Go
26 lines
649 B
Go
package globals
|
|
|
|
import "os/user"
|
|
|
|
// Global variables, Mocks, etc.
|
|
// This package shall not have any dependency towards the application itself!
|
|
// [impl->dsn~properly-defined-globals~1>>utest]
|
|
|
|
// GLOBAL VARIABLES
|
|
|
|
// ConfigDirectoryList Configuration directory list
|
|
var ConfigDirectoryList []string
|
|
|
|
// ConfigDirectory Configuration directory string
|
|
var ConfigDirectory string
|
|
|
|
// CollectionOfProtocolsDir is the default directory for protocol collections
|
|
var CollectionOfProtocolsDir string
|
|
|
|
// COPCacheFileName is the filename for the cache
|
|
var COPCacheFileName string = "cop-cache.json"
|
|
|
|
// Global Mockings
|
|
|
|
var MockUserCurrent = user.Current
|