PaulSonOfLars / gotgbot

Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
MIT License
478 stars 106 forks source link

simplify signal-only channels #75

Closed vassilit closed 1 year ago

vassilit commented 1 year ago

We are not using the boolean property in our semaphore, so we should use chan struct{} instead of chan bool.

ALiwoto commented 1 year ago

I see

annihilatorrrr commented 1 year ago

Cool!