2018-07-02 04:09:58 +02:00
|
|
|
package fixtures
|
|
|
|
|
|
|
|
func getfoo() (int, int, error) { // MATCH /unnamed results of the same type may be confusing, consider using named results/
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-10-27 07:26:27 +02:00
|
|
|
func getBar(a, b int) (int, error, int) {
|
2018-07-02 04:09:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func Getbaz(a string, b int) (int, float32, string, string) { // MATCH /unnamed results of the same type may be confusing, consider using named results/
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func GetTaz(a string, b int) string {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-12-04 18:42:07 +02:00
|
|
|
func (t *t) GetTaz(a int, b int) {
|
2018-07-02 04:09:58 +02:00
|
|
|
|
|
|
|
}
|
2024-12-04 18:42:07 +02:00
|
|
|
|
|
|
|
func namedResults() (a string, b string) {
|
|
|
|
return "nil", "nil"
|
|
|
|
}
|
|
|
|
|
|
|
|
func pointerResults() (*string, *string) { // MATCH /unnamed results of the same type may be confusing, consider using named results/
|
|
|
|
return nil, nil
|
|
|
|
}
|