rename gb.go to main.go
bugfix: close a closed channel