github.com/goplus/llgo@v0.8.3/cl/_testrt/gotypes/in.go (about) 1 package main 2 3 type base interface { 4 f(m map[string]func()) 5 } 6 7 type bar interface { 8 base 9 g(c chan func()) 10 } 11 12 func foo(bar) { 13 } 14 15 func main() { 16 foo(nil) 17 }