feat: add config
This commit is contained in:
parent
d50a9afde8
commit
103016bc39
|
@ -10,9 +10,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
ScriptBinaryPath string `required:"true" split_words:"true"`
|
ScriptBinaryPath string `required:"true" split_words:"true"`
|
||||||
WebhookScriptPath string `required:"true" split_words:"true"`
|
WebhookScriptPath string `required:"true" split_words:"true"`
|
||||||
FileToWatchPath string `required:"true" split_words:"true"`
|
FileToWatchPath string `required:"true" split_words:"true"`
|
||||||
|
TestFileToWatchPath string `required:"true" split_words:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func rootDir() string {
|
func rootDir() string {
|
||||||
|
|
Loading…
Reference in New Issue