gopherdata / gopherdata/gophernotes

Problem with goroutines and closures. Wrong function execution

Đang mở
#266 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
4k
Fork
264
Merge trung bình
7 ngày 21 giờ
Pull request đã merge (30 ngày)
1

Mô tả

I'm running inside the dockerized version running the command from the readme,

Image

I should get 10 11 12 but instead I get 12 12 12. The code works fine if I make it into a standalone go program.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.