gopherdata / gopherdata/gophernotes

Problem with goroutines and closures. Wrong function execution

Aperta
#266 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
4k
Fork
264
Merge medio
7g 21h
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.