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 56c05fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
with:
version: latest
args: release --clean
workdir: cmd/go-gofactory-lint/
workdir: cmd/gofactory/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 56c05fd

Please sign in to comment.