Refactor Package structure
This commit cleans up the package structure, to make two new top-level packages `internal` (for internal-use packages) and `pkg` (for general shared utility code).
This commit is contained in:
parent
487ce09979
commit
a360324f62
124 changed files with 97 additions and 101 deletions
14
internal/core/core.go
Normal file
14
internal/core/core.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// Package core implements the core of the WissKI Distillery and the wdcli executable.
|
||||
// It does not depend on any other packages.
|
||||
package core
|
||||
|
||||
// BaseDirectoryDefault is the default deploy directory to load the distillery from.
|
||||
const BaseDirectoryDefault = "/var/www/deploy"
|
||||
|
||||
// Executable is the name of the 'wdcli' executable.
|
||||
// It should be located inside the deployment directory.
|
||||
const Executable = "wdcli"
|
||||
|
||||
// Config file is the name of the config file.
|
||||
// It should be located inside the deployment directory.
|
||||
const ConfigFile = ".env"
|
||||
Loading…
Add table
Add a link
Reference in a new issue