This repository has been archived on 2024-02-15. You can view files and clone it, but cannot push or open issues or pull requests.
config-mapper/internal/configuration.go
2022-02-21 22:50:30 +01:00

24 lines
633 B
Go

package mapper
type Configuration struct {
Storage Storage `yaml:"storage"`
Files []string `yaml:"files"`
Folders []string `yaml:"folders"`
PackageManagers PkgManagers `yaml:"package-managers"`
}
type Storage struct {
Location string `yaml:"location"`
Git struct {
Username string `yaml:"username"`
Password string `yaml:"password"`
Repository string `yaml:"repository"`
} `yaml:"git"`
}
type PkgManagers struct {
InstallationOrder []string `yaml:"installation-order"`
Homebrew []string `yaml:"homebrew"`
AptGet interface{} `yaml:"apt-get"`
}