mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-14 13:44:23 -04:00
9 lines
261 B
Go
9 lines
261 B
Go
//golangcitest:args -Eforbidigo
|
|
//golangcitest:config_path testdata/configs/forbidigo_include_godoc_examples.yml
|
|
package testdata
|
|
|
|
import "fmt"
|
|
|
|
func ExampleForbidigoNoGodoc() {
|
|
fmt.Printf("too noisy!!!") // want "use of `fmt.Printf` forbidden by pattern.*"
|
|
}
|