py is a high-level API wrapping the low-level CPython C-API, for go
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
aadog opened this issue 2 years ago · comments
gorun=True callback error
func Test(n int, fn func(s string)) { for i := 0; i < n; i++ { time.Sleep(time.Second) fmt.Printf("write %d\n", i) } fn("ok") }