Use dot as folder separator

Also don't add dot if no extension
This commit is contained in:
Dan Jones 2024-02-26 19:30:32 -06:00
commit a61af1b4b3
4 changed files with 74 additions and 4 deletions

View file

@ -6,9 +6,10 @@ type Config struct {
}
type Input struct {
Path string `env:"LOG_PATH"`
Recurse bool `env:"LOG_RECURSE"`
Ext string `env:"LOG_EXT"`
Path string `env:"LOG_PATH"`
Recurse bool `env:"LOG_RECURSE"`
Ext string `env:"LOG_EXT"`
DotFolder bool `env:"LOG_DOT_FOLDER"`
}
type Outputs map[string]Output