1
0
mirror of https://github.com/beego/bee.git synced 2025-06-12 10:00:41 +00:00

Merge pull request #373 from sergeylanzman/add-scripts-options

add scripts option(custom commands)
This commit is contained in:
astaxie
2017-03-16 23:27:10 +08:00
committed by GitHub
3 changed files with 48 additions and 2 deletions

View File

@ -78,8 +78,9 @@ var Conf struct {
Driver string
Conn string
}
EnableReload bool `json:"enable_reload" yaml:"enable_reload"`
EnableNotification bool `json:"enable_notification" yaml:"enable_notification"`
EnableReload bool `json:"enable_reload" yaml:"enable_reload"`
EnableNotification bool `json:"enable_notification" yaml:"enable_notification"`
Scripts map[string]string `json:"scripts" yaml:"scripts"`
}
func init() {