mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 12:53:43 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			308 B
		
	
	
	
		
			Go
		
	
	
	
		
			Vendored
		
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			308 B
		
	
	
	
		
			Go
		
	
	
	
		
			Vendored
		
	
	
	
package lint
 | 
						|
 | 
						|
// FormatterMetadata configuration of a formatter
 | 
						|
type FormatterMetadata struct {
 | 
						|
	Name        string
 | 
						|
	Description string
 | 
						|
	Sample      string
 | 
						|
}
 | 
						|
 | 
						|
// Formatter defines an interface for failure formatters
 | 
						|
type Formatter interface {
 | 
						|
	Format(<-chan Failure, Config) (string, error)
 | 
						|
	Name() string
 | 
						|
}
 |