mirror of https://github.com/qwc/backive.git
small steps
This commit is contained in:
parent
07ad146c5f
commit
05da15c8ea
|
@ -23,6 +23,10 @@ type Settings struct {
|
||||||
userMountPoint string
|
userMountPoint string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Devices map[string]Device
|
||||||
|
|
||||||
|
type Backups map[string]Backup
|
||||||
|
|
||||||
func loadDevice() {
|
func loadDevice() {
|
||||||
v1 := viper.New()
|
v1 := viper.New()
|
||||||
v1.SetConfigName("devices")
|
v1.SetConfigName("devices")
|
||||||
|
|
Loading…
Reference in New Issue