From 7eb0211e89b6cd85d4192feb92a19910d409445a Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Tue, 26 Sep 2023 08:54:23 +0200 Subject: [PATCH] [internal][config] collect constants under one entry --- sda/internal/config/config.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sda/internal/config/config.go b/sda/internal/config/config.go index 132e7772c..e13e5224d 100644 --- a/sda/internal/config/config.go +++ b/sda/internal/config/config.go @@ -19,9 +19,11 @@ import ( "github.com/spf13/viper" ) -const POSIX = "posix" -const S3 = "s3" -const SFTP = "sftp" +const ( + POSIX = "posix" + S3 = "s3" + SFTP = "sftp" +) var requiredConfVars []string