github.com/songshiyun/revive@v1.1.5-0.20220323112655-f8433a19b3c5/testdata/confusing-results.go (about) 1 package fixtures 2 3 func getfoo() (int, int, error) { // MATCH /unnamed results of the same type may be confusing, consider using named results/ 4 5 } 6 7 func getBar(a, b int) (int, error, int) { 8 } 9 10 func Getbaz(a string, b int) (int, float32, string, string) { // MATCH /unnamed results of the same type may be confusing, consider using named results/ 11 12 } 13 14 func GetTaz(a string, b int) string { 15 16 } 17 18 func (t *t) GetTaz(a int, b int) { 19 20 }