refactor: remove unused config values
This commit is contained in:
parent
72131ed7ce
commit
356e39ceac
1 changed files with 0 additions and 3 deletions
|
@ -8,10 +8,7 @@ import (
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Token string `env:"TOKEN"`
|
Token string `env:"TOKEN"`
|
||||||
Repo string `env:"REPO"`
|
|
||||||
UploadDir string `env:"UPLOAD_DIR" envDefault:"./uploads"`
|
UploadDir string `env:"UPLOAD_DIR" envDefault:"./uploads"`
|
||||||
TaskDir string `env:"TASK_DIR" envDefault:"./tasks"`
|
|
||||||
SymLink string `env:"SYM_LINK"`
|
|
||||||
Port string `env:"PORT" envDefault:"8080"`
|
Port string `env:"PORT" envDefault:"8080"`
|
||||||
MaxSizeUpload int64 `env:"MAX_SIZE_UPLOAD" envDefault:"104857600"` //100 MB
|
MaxSizeUpload int64 `env:"MAX_SIZE_UPLOAD" envDefault:"104857600"` //100 MB
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue