 6a979fb40d
			
		
	
	
		6a979fb40d
		
			
		
	
	
	
	
		
			
			* update staticcheck Don't fork staticcheck: use the upstream version. Remove unneeded SSA loading. * Cache go/analysis facts Don't load unneeded packages for go/analysis. Repeated run of go/analysis linters now 10x faster (2s vs 20s on this repo) than before.
		
			
				
	
	
		
			21 lines
		
	
	
		
			385 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			385 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package lint
 | |
| 
 | |
| const (
 | |
| 	StateInitializing = 0
 | |
| 	StateGraph        = 1
 | |
| 	StateProcessing   = 2
 | |
| 	StateCumulative   = 3
 | |
| )
 | |
| 
 | |
| type Stats struct {
 | |
| 	State uint32
 | |
| 
 | |
| 	InitialPackages          uint32
 | |
| 	TotalPackages            uint32
 | |
| 	ProcessedPackages        uint32
 | |
| 	ProcessedInitialPackages uint32
 | |
| 	Problems                 uint32
 | |
| 	ActiveWorkers            uint32
 | |
| 	TotalWorkers             uint32
 | |
| }
 |