go: basic implementation of semaphore

Channels are ideal data structure for sync between goroutines:

Publikováno v Go