2 Star 0 Fork 0

码布什/go工具库

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
GoroutineExecutor.go 180 Bytes
Copy Edit Raw Blame History
zhengqiuyun authored 2023-02-21 16:29 +08:00 . Init git
package GoroutineExecutor
import (
"gitee.com/manoshi/go-util/exception/catch"
)
func do(f func()) {
defer catch.ExceptionCatch(nil)
f()
}
func SynDo(f func()) {
go do(f)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/manoshi/go-util.git
git@gitee.com:manoshi/go-util.git
manoshi
go-util
go工具库
v0.0.65

Search