read token from config

This commit is contained in:
Ben Sarmiento
2023-10-20 01:49:06 +02:00
parent 464f522fea
commit 0e442fc9be
9 changed files with 23 additions and 22 deletions

View File

@@ -20,6 +20,10 @@ func (z *ZurgConfigV1) GetVersion() string {
return "v1"
}
func (z *ZurgConfigV1) GetToken() string {
return z.Token
}
func (z *ZurgConfigV1) GetDirectories() []string {
var rootDirectories []string
for directory := range z.Directories {