Windowing via channels in Go