File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
package gofuncor
2
2
3
3
import (
4
- "github.com/golangci/golangci-lint/v2/test/testshared/integration"
5
4
"testing"
5
+
6
+ "github.com/golangci/golangci-lint/v2/test/testshared/integration"
6
7
)
7
8
8
9
func TestFromTestdata (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ func (m *MyStruct2) SetName(name string) {
31
31
m .Name = name
32
32
}
33
33
34
- func NewMyStruct2 () * MyStruct2 { // want `constructor \ "NewMyStruct2\ " for struct \ "MyStruct2\ " should be placed before struct method \ "GetName\ "`
34
+ func NewMyStruct2 () * MyStruct2 { // want `constructor "NewMyStruct2" for struct "MyStruct2" should be placed before struct method "GetName"`
35
35
return & MyStruct2 {Name : "John" }
36
36
}
37
37
You can’t perform that action at this time.
0 commit comments