from a channel for up to 1 minute , how to do so ?
Use time.After
checkint , thanks
" In Go (Golang), time.After is a function from the time package used to create a channel that will send the current time after a specified duration has passed."
Context with timeout and select
checking , ty
depends on your go version, mind this https://antonz.org/timer-reset/
Обсуждают сегодня