feat: add config

This commit is contained in:
Urko 2023-02-26 10:59:22 +01:00
parent d50a9afde8
commit 103016bc39
1 changed files with 4 additions and 3 deletions

View File

@ -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 {