//args: -Edepguard //config_path: testdata/configs/depguard_additional_guards.yml package testdata import ( "compress/gzip" // ERROR "`compress/gzip` is in the blacklist" "fmt" // ERROR "`fmt` is in the blacklist" "log" // ERROR "`log` is in the blacklist: don't use log" "strings" // ERROR "`strings` is in the blacklist: disallowed in additional guard" ) func SpewDebugInfo() { log.Println(gzip.BestCompression) log.Println(fmt.Sprintf("SpewDebugInfo")) log.Println(strings.ToLower("SpewDebugInfo")) }