From 103016bc391e0b63bb8f549c39be39ed56c3ff8d Mon Sep 17 00:00:00 2001 From: Urko Date: Sun, 26 Feb 2023 10:59:22 +0100 Subject: [PATCH] feat: add config --- cfg/config.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cfg/config.go b/cfg/config.go index 1e59942..d505531 100644 --- a/cfg/config.go +++ b/cfg/config.go @@ -10,9 +10,10 @@ import ( ) type Config struct { - ScriptBinaryPath string `required:"true" split_words:"true"` - WebhookScriptPath string `required:"true" split_words:"true"` - FileToWatchPath string `required:"true" split_words:"true"` + ScriptBinaryPath string `required:"true" split_words:"true"` + WebhookScriptPath string `required:"true" split_words:"true"` + FileToWatchPath string `required:"true" split_words:"true"` + TestFileToWatchPath string `required:"true" split_words:"true"` } func rootDir() string {