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

add notify on fails build

This commit is contained in:
Sergey Lanzman
2017-03-10 19:43:57 +02:00
parent 6dce4df2cb
commit dacee6ba16
3 changed files with 82 additions and 2 deletions

View File

@ -47,7 +47,9 @@ var defaultConf = `{
"database": {
"driver": "mysql"
},
"enable_reload": false
"enable_reload": false,
"enable_notification": true
}
`
var Conf struct {
@ -77,7 +79,8 @@ var Conf struct {
Driver string
Conn string
}
EnableReload bool `json:"enable_reload" yaml:"enable_reload"`
EnableReload bool `json:"enable_reload" yaml:"enable_reload"`
EnableNotification bool `json:"enable_notification" yaml:"enable_notification"`
}
func init() {