mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-25 21:48:53 -04:00
14 lines
411 B
Go
14 lines
411 B
Go
//golangcitest:args -Eireturn
|
|
//golangcitest:config_path testdata/configs/ireturn_allow.yml
|
|
//golangcitest:expected_exitcode 0
|
|
package testdata
|
|
|
|
type (
|
|
IreturnAllowDoer interface{ Do() }
|
|
ireturnAllowDoer struct{}
|
|
)
|
|
|
|
func NewAllowDoer() IreturnAllowDoer { return new(ireturnAllowDoer) }
|
|
func (d *ireturnAllowDoer) Do() { /*...*/ }
|
|
|
|
func NewerAllowDoer() *ireturnAllowDoer { return new(ireturnAllowDoer) }
|