mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			194 B
		
	
	
	
		
			Go
		
	
	
	
		
			Vendored
		
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			194 B
		
	
	
	
		
			Go
		
	
	
	
		
			Vendored
		
	
	
	
| package decoder
 | |
| 
 | |
| import "context"
 | |
| 
 | |
| type OptionFlags uint8
 | |
| 
 | |
| const (
 | |
| 	FirstWinOption OptionFlags = 1 << iota
 | |
| 	ContextOption
 | |
| )
 | |
| 
 | |
| type Option struct {
 | |
| 	Flags   OptionFlags
 | |
| 	Context context.Context
 | |
| }
 |