add logx.Alert

This commit is contained in:
kevin
2020-10-17 19:11:01 +08:00
parent d2ed14002c
commit 695ea69bfc
4 changed files with 15 additions and 2 deletions

View File

@@ -10,7 +10,6 @@ func main() {
result, err := fx.From(func(source chan<- interface{}) {
for i := 0; i < 10; i++ {
source <- i
source <- i
}
}).Map(func(item interface{}) interface{} {
i := item.(int)