Using Go 1.23 Iterators in CLI Applications
· go
Go 1.23 added range-over-function iterators and the iter package. For CLI progress streams, that can replace channels, goroutines, and hand-rolled state machines.
· go
Go 1.23 added range-over-function iterators and the iter package. For CLI progress streams, that can replace channels, goroutines, and hand-rolled state machines.