* CI: use staticcheck for linting This commit switches the linter for Go code from golint to staticcheck. Golint has been deprecated since last year and staticcheck is a recommended replacement. Signed-off-by: Lucas Servén Marín <lserven@gmail.com> * revendor Signed-off-by: Lucas Servén Marín <lserven@gmail.com> * cmd,pkg: fix lint warnings Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			392 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			392 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| This package is a copy of cmd/go/internal/cache.
 | |
| 
 | |
| Differences from upstream:
 | |
| - we continue to use renameio instead of lockedfile for writing trim.txt
 | |
| - we still use I/O helpers that work with earlier versions of Go.
 | |
| - we use a cache directory specific to Staticcheck
 | |
| - we use a Staticcheck-specific salt
 | |
| 
 | |
| The last upstream commit we've looked at was:
 | |
| 06ac303f6a14b133254f757e54599c48e3c2a4ad
 |