from a channel for up to 1 minute , how to do so ?
                  
                  
                
Use time.After
 Adrian
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          Adrian
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  checkint , thanks
 Adrian
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          Adrian
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  " 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
 Adrian
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          Adrian
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  checking , ty
depends on your go version, mind this https://antonz.org/timer-reset/
Обсуждают сегодня