Compare commits
No commits in common. "main" and "v0.0.4" have entirely different histories.
@ -7,6 +7,7 @@ import (
|
|||||||
"apigo.cc/gojs"
|
"apigo.cc/gojs"
|
||||||
"apigo.cc/gojs/goja"
|
"apigo.cc/gojs/goja"
|
||||||
"github.com/ssgo/config"
|
"github.com/ssgo/config"
|
||||||
|
"github.com/ssgo/log"
|
||||||
"github.com/ssgo/u"
|
"github.com/ssgo/u"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -56,7 +57,7 @@ func init() {
|
|||||||
if defaultMailbox, err := defaultObject.Get("default"); err == nil {
|
if defaultMailbox, err := defaultObject.Get("default"); err == nil {
|
||||||
defaultObject.Mailbox = defaultMailbox
|
defaultObject.Mailbox = defaultMailbox
|
||||||
} else if len(objects) == 0 {
|
} else if len(objects) == 0 {
|
||||||
// log.DefaultLogger.Warning("no mailbox configured", "example for env.yml", "mail:\n mailbox:\n default:\n username: ****@***.***")
|
log.DefaultLogger.Warning("no mailbox configured", "example for env.yml", "mail:\n mailbox:\n default:\n username: ****@***.***")
|
||||||
}
|
}
|
||||||
return gojs.ToMap(defaultObject)
|
return gojs.ToMap(defaultObject)
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user