 f3376cab71
			
		
	
	
		f3376cab71
		
			
		
	
	
	
	
		
			
			* wip more add new files run command fixes more * go.mod * order * same package * review comment * enable linter in .golangci.yml * add testcase for default-signifies-exhaustive: true * adjust runGoErrchk instead * disable the linter * cleanup * more cleanup * cleanup
		
			
				
	
	
		
			20 lines
		
	
	
		
			251 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			251 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //args: -Eexhaustive
 | |
| //config_path: testdata/configs/exhaustive.yml
 | |
| package testdata
 | |
| 
 | |
| type Direction int
 | |
| 
 | |
| const (
 | |
| 	North Direction = iota
 | |
| 	East
 | |
| 	South
 | |
| 	West
 | |
| )
 | |
| 
 | |
| func processDirectionDefault(d Direction) {
 | |
| 	switch d {
 | |
| 	case North, South:
 | |
| 	default:
 | |
| 	}
 | |
| }
 |