Skip to content

Commit

Permalink
feat: update goimports from x/tools v0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 16, 2024
1 parent b818f97 commit d8596aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion goimports/goimports.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"runtime"
)

// Extracted from golang.org/x/tools@v0.18.0/cmd/goimports/goimports.go
// Extracted from golang.org/x/tools@v0.24.0/cmd/goimports/goimports.go

func writeTempFile(dir, prefix string, data []byte) (string, error) {
file, err := os.CreateTemp(dir, prefix)
Expand Down
11 changes: 8 additions & 3 deletions goimports/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Hard Fork of goimports

2022-08-31: Sync with golang.org/x/tools v0.1.12
2023-10-04: Sync with golang.org/x/tools v0.13.0
2024-02-28: Sync with golang.org/x/tools v0.18.0
- https://github.com/golang/tools/tree/master/cmd/goimports

## Updates

- 2024-08-17: Sync with golang.org/x/tools v0.24.0
- 2024-02-28: Sync with golang.org/x/tools v0.18.0
- 2023-10-04: Sync with golang.org/x/tools v0.13.0
- 2022-08-31: Sync with golang.org/x/tools v0.1.12

0 comments on commit d8596aa

Please sign in to comment.