github.com/songshiyun/revive@v1.1.5-0.20220323112655-f8433a19b3c5/testdata/get-return.go (about)

     1  package fixtures
     2  
     3  func getfoo() {
     4  
     5  }
     6  
     7  func getBar(a, b int) { // MATCH /function 'getBar' seems to be a getter but it does not return any result/
     8  
     9  }
    10  
    11  func Getbaz(a string, b int) {
    12  
    13  }
    14  
    15  func GetTaz(a string, b int) string {
    16  
    17  }
    18  
    19  func (t *t) GetTaz(a string, b int) string {
    20  
    21  }
    22  
    23  func (t *t) GetSaz(a string, b int) { // MATCH /function 'GetSaz' seems to be a getter but it does not return any result/
    24  
    25  }
    26  
    27  func GetQux(a string, b int, c int, d string, e int64) { // MATCH /function 'GetQux' seems to be a getter but it does not return any result/
    28  
    29  }