DEV Community

Discussion on: Progress indicator for console applications

willdoescode profile image

I hadn't thought of just using

go func()
Enter fullscreen mode Exit fullscreen mode

That is pretty neat.
Nice post.

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.