Go routine and how to async
it is simple
go func() { for i:=0;i<10 ;i++ { fmt.Println("Hello %d",i) time.Sleep(time.Second/2) } }()
with keyword go
Comments
Post a Comment