github.com/nozzle/golangci-lint@v1.49.0-nz3/test/testdata/depguard_ignore_file_rules.go (about)

     1  //golangcitest:args -Edepguard
     2  //golangcitest:config_path testdata/configs/depguard_ignore_file_rules.yml
     3  //golangcitest:expected_exitcode 0
     4  package testdata
     5  
     6  // NOTE - No lint errors because this file is ignored
     7  import (
     8  	"compress/gzip"
     9  	"log"
    10  )
    11  
    12  func SpewDebugInfo() {
    13  	log.Println(gzip.BestCompression)
    14  }