Golang test discovery
    
    
      ·1 min
    
    
    
  
  
  
    
  
        For every file ending with _test.go, it runs every function that matches either:
- Example[A-Z_].*
 - Test[A-Z_].*
 
You can use the assert package for tests, and examples functions may include a line comment that begins with “Output:” to verify stdout.