13 lines
		
	
	
		
			309 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			309 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //golangcitest:args -Edepguard
 | |
| //golangcitest:config_path testdata/configs/depguard.yml
 | |
| package testdata
 | |
| 
 | |
| import (
 | |
| 	"compress/gzip" // ERROR "`compress/gzip` is in the denylist"
 | |
| 	"log"           // ERROR "`log` is in the denylist: don't use log"
 | |
| )
 | |
| 
 | |
| func SpewDebugInfo() {
 | |
| 	log.Println(gzip.BestCompression)
 | |
| }
 | 
