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
15
internal/core/bootstrap.go
Normal file
15
internal/core/bootstrap.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package core
|
||||
|
||||
import _ "embed"
|
||||
|
||||
// DefaultOverridesJSON contains a template for a new 'overrides.json' file
|
||||
//go:embed bootstrap/overrides.json
|
||||
var DefaultOverridesJSON []byte
|
||||
|
||||
// DefaultAuthorizedKeys contains a template for a new 'global_authorized_keys' file
|
||||
//go:embed bootstrap/global_authorized_keys
|
||||
var DefaultAuthorizedKeys []byte
|
||||
|
||||
// ConfigFileTemplate contains a template for a new configuration file
|
||||
//go:embed bootstrap/env
|
||||
var ConfigFileTemplate []byte
|
||||
Loading…
Add table
Add a link
Reference in a new issue