Exemple #1
0
func idents() <-chan int {
	v := make(visitor)
	go func() {
		walkimperative.WalkStmt(v, s)
		close(v)
	}()
	return v
}
func main() {
	v := &visitor{0} // address of
	walkimperative.WalkStmt(v, s)
	fmt.Println(v)
}