mirror of
				https://git.zx2c4.com/wireguard-go
				synced 2025-10-31 11:56:22 +08:00 
			
		
		
		
	 eaf664e4e9
			
		
	
	eaf664e4e9
	
	
	
		
			
			It's never used and we won't have a use for it. Also, move to go-running stringer, for those without GOPATHs. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			446 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			446 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Code generated by "stringer -type deviceState -trimprefix=deviceState"; DO NOT EDIT.
 | |
| 
 | |
| package device
 | |
| 
 | |
| import "strconv"
 | |
| 
 | |
| const _deviceState_name = "DownUpClosed"
 | |
| 
 | |
| var _deviceState_index = [...]uint8{0, 4, 6, 12}
 | |
| 
 | |
| func (i deviceState) String() string {
 | |
| 	if i >= deviceState(len(_deviceState_index)-1) {
 | |
| 		return "deviceState(" + strconv.FormatInt(int64(i), 10) + ")"
 | |
| 	}
 | |
| 	return _deviceState_name[_deviceState_index[i]:_deviceState_index[i+1]]
 | |
| }
 |