DEV Community

Discussion on: Progress indicator for console applications

Collapse
willdoescode profile image
Will

I hadn't thought of just using

go func()
Enter fullscreen mode Exit fullscreen mode

That is pretty neat.
Nice post.

Collapse
davidkroell profile image
David Kröll Author

Yeah, this in fact a very common pattern, it has a very broad usage range since you may access variables from the outer scope, too.