Skip to content

Commit

Permalink
1. removed incorrect auto replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
maranqz committed Dec 15, 2023
1 parent 8c9d73e commit 76fdb99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
)

func main() {
// Use gofactory for bad.User
// Use factory for bad.User
u := &bad.User{
ID: -1,
}
Expand Down Expand Up @@ -139,7 +139,7 @@ Linter doesn't catch some cases.
1. Catch nested struct in the same package, [example](testdata/src/factory/unimplemented/local/nested_struct.go).
```go
return Struct{
Other: OtherStruct{}, // want `Use gofactory for nested.Struct`
Other: OtherStruct{}, // want `Use factory for nested.Struct`
}
```
2. Resolve false negative issue with `var declaration`.
Expand Down

0 comments on commit 76fdb99

Please sign in to comment.