 95ec0cf21e
			
		
	
	
		95ec0cf21e
		
			
		
	
	
	
	
		
			
			Run all linters per package. It allows unloading package data when it's processed. It dramatically reduces memory (and CPU because of GC) usage. Relates: #337
		
			
				
	
	
		
			12 lines
		
	
	
		
			174 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			174 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package printers
 | |
| 
 | |
| import (
 | |
| 	"context"
 | |
| 
 | |
| 	"github.com/golangci/golangci-lint/pkg/result"
 | |
| )
 | |
| 
 | |
| type Printer interface {
 | |
| 	Print(ctx context.Context, issues []result.Issue) error
 | |
| }
 |