From 05da15c8eafa769a6404702217c7b5ad8b264a80 Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Mon, 4 Oct 2021 22:14:16 +0200 Subject: [PATCH] small steps --- config/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/config.go b/config/config.go index cd804b1..79d019b 100644 --- a/config/config.go +++ b/config/config.go @@ -23,6 +23,10 @@ type Settings struct { userMountPoint string } +type Devices map[string]Device + +type Backups map[string]Backup + func loadDevice() { v1 := viper.New() v1.SetConfigName("devices")