Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Abirdcfly/dupword
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.13
Choose a base ref
...
head repository: Abirdcfly/dupword
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.14
Choose a head ref
  • 7 commits
  • 55 files changed
  • 2 contributors

Commits on Oct 6, 2023

  1. build(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0

    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.13.0 to 0.14.0.
    - [Release notes](https://github.com/golang/tools/releases)
    - [Commits](golang/tools@v0.13.0...v0.14.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and Abirdcfly committed Oct 6, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3bfc1a0 View commit details

Commits on Nov 9, 2023

  1. build(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0

    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.14.0 to 0.15.0.
    - [Release notes](https://github.com/golang/tools/releases)
    - [Commits](golang/tools@v0.14.0...v0.15.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and Abirdcfly committed Nov 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f4f61a5 View commit details

Commits on Nov 28, 2023

  1. build(deps): bump golang.org/x/tools from 0.15.0 to 0.16.0

    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.15.0 to 0.16.0.
    - [Release notes](https://github.com/golang/tools/releases)
    - [Commits](golang/tools@v0.15.0...v0.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and Abirdcfly committed Nov 28, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    db55041 View commit details

Commits on Dec 13, 2023

  1. build(deps): bump golang.org/x/tools from 0.16.0 to 0.16.1

    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.16.0 to 0.16.1.
    - [Release notes](https://github.com/golang/tools/releases)
    - [Commits](golang/tools@v0.16.0...v0.16.1)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/tools
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and Abirdcfly committed Dec 13, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cf4752c View commit details

Commits on Jan 13, 2024

  1. build(deps): bump golang.org/x/tools from 0.16.1 to 0.17.0

    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.16.1 to 0.17.0.
    - [Release notes](https://github.com/golang/tools/releases)
    - [Commits](golang/tools@v0.16.1...v0.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and Abirdcfly committed Jan 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ded7757 View commit details

Commits on Feb 14, 2024

  1. build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0

    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.17.0 to 0.18.0.
    - [Release notes](https://github.com/golang/tools/releases)
    - [Commits](golang/tools@v0.17.0...v0.18.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and Abirdcfly committed Feb 14, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4263ed7 View commit details

Commits on Feb 18, 2024

  1. action: enable gofmt lint; fix dupword.go formatting

    alexandear authored and Abirdcfly committed Feb 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    981559a View commit details
Showing with 878 additions and 1,696 deletions.
  1. +1 −0 .github/workflows/lint.yml
  2. +2 −2 dupword.go
  3. +2 −5 go.mod
  4. +5 −7 go.sum
  5. +8 −8 vendor/golang.org/x/mod/modfile/rule.go
  6. +0 −27 vendor/golang.org/x/sys/LICENSE
  7. +0 −22 vendor/golang.org/x/sys/PATENTS
  8. +0 −102 vendor/golang.org/x/sys/execabs/execabs.go
  9. +0 −18 vendor/golang.org/x/sys/execabs/execabs_go118.go
  10. +0 −21 vendor/golang.org/x/sys/execabs/execabs_go119.go
  11. +65 −41 vendor/golang.org/x/tools/go/analysis/analysistest/analysistest.go
  12. +8 −9 vendor/golang.org/x/tools/go/analysis/diagnostic.go
  13. +1 −1 vendor/golang.org/x/tools/go/analysis/doc.go
  14. +26 −10 vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
  15. +20 −13 vendor/golang.org/x/tools/go/analysis/internal/checker/checker.go
  16. +17 −11 vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
  17. +2 −0 vendor/golang.org/x/tools/go/analysis/validate.go
  18. +1 −3 vendor/golang.org/x/tools/go/ast/inspector/typeof.go
  19. +10 −5 vendor/golang.org/x/tools/go/internal/packagesdriver/sizes.go
  20. +38 −8 vendor/golang.org/x/tools/go/packages/doc.go
  21. +59 −20 vendor/golang.org/x/tools/go/packages/external.go
  22. +21 −97 vendor/golang.org/x/tools/go/packages/golist.go
  23. +0 −492 vendor/golang.org/x/tools/go/packages/golist_overlay.go
  24. +100 −121 vendor/golang.org/x/tools/go/packages/packages.go
  25. +28 −103 vendor/golang.org/x/tools/go/types/objectpath/objectpath.go
  26. +3 −3 vendor/golang.org/x/tools/internal/diff/lcs/git.sh
  27. +1 −1 vendor/golang.org/x/tools/internal/diff/lcs/old.go
  28. +4 −14 vendor/golang.org/x/tools/internal/diff/ndiff.go
  29. +14 −13 vendor/golang.org/x/tools/internal/diff/unified.go
  30. +21 −0 vendor/golang.org/x/tools/internal/event/keys/util.go
  31. +5 −11 vendor/golang.org/x/tools/internal/facts/facts.go
  32. +6 −8 vendor/golang.org/x/tools/internal/facts/imports.go
  33. +1 −2 vendor/golang.org/x/tools/internal/gcimporter/gcimporter.go
  34. +15 −16 vendor/golang.org/x/tools/internal/gcimporter/iexport.go
  35. +26 −20 vendor/golang.org/x/tools/internal/gcimporter/iimport.go
  36. +15 −12 vendor/golang.org/x/tools/internal/gocommand/invoke.go
  37. +0 −8 vendor/golang.org/x/tools/internal/packagesinternal/packages.go
  38. +1 −2 vendor/golang.org/x/tools/internal/robustio/robustio_flaky.go
  39. +1 −2 vendor/golang.org/x/tools/internal/robustio/robustio_other.go
  40. +32 −5 vendor/golang.org/x/tools/internal/testenv/testenv.go
  41. +12 −12 vendor/golang.org/x/tools/internal/typeparams/common.go
  42. +4 −4 vendor/golang.org/x/tools/internal/typeparams/coretype.go
  43. +0 −12 vendor/golang.org/x/tools/internal/typeparams/enabled_go117.go
  44. +0 −15 vendor/golang.org/x/tools/internal/typeparams/enabled_go118.go
  45. +10 −10 vendor/golang.org/x/tools/internal/typeparams/normalize.go
  46. +0 −197 vendor/golang.org/x/tools/internal/typeparams/typeparams_go117.go
  47. +0 −151 vendor/golang.org/x/tools/internal/typeparams/typeparams_go118.go
  48. +0 −24 vendor/golang.org/x/tools/internal/typesinternal/objectpath.go
  49. +172 −0 vendor/golang.org/x/tools/internal/versions/gover.go
  50. +19 −0 vendor/golang.org/x/tools/internal/versions/types.go
  51. +20 −0 vendor/golang.org/x/tools/internal/versions/types_go121.go
  52. +24 −0 vendor/golang.org/x/tools/internal/versions/types_go122.go
  53. +52 −0 vendor/golang.org/x/tools/internal/versions/versions.go
  54. +2 −2 vendor/golang.org/x/tools/txtar/archive.go
  55. +4 −6 vendor/modules.txt
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ jobs:
uses: golangci/golangci-lint-action@v3.2.0
with:
version: latest
args: --enable=gofmt

- name: Build
run: go build -v ./...
4 changes: 2 additions & 2 deletions dupword.go
Original file line number Diff line number Diff line change
@@ -75,15 +75,15 @@ type ignore struct {
}

func (a *ignore) String() string {
t := make([]string,0, len(ignoreWord))
t := make([]string, 0, len(ignoreWord))
for k := range ignoreWord {
t = append(t, k)
}
return strings.Join(t, ",")
}

func (a *ignore) Set(w string) error {
for _, k := range strings.Split(w, ","){
for _, k := range strings.Split(w, ",") {
ignoreWord[k] = true
}
return nil
7 changes: 2 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -2,9 +2,6 @@ module github.com/Abirdcfly/dupword

go 1.20

require golang.org/x/tools v0.13.0
require golang.org/x/tools v0.18.0

require (
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.12.0 // indirect
)
require golang.org/x/mod v0.15.0 // indirect
12 changes: 5 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ=
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8=
golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ=
golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg=
16 changes: 8 additions & 8 deletions vendor/golang.org/x/mod/modfile/rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 0 additions & 27 deletions vendor/golang.org/x/sys/LICENSE

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/golang.org/x/sys/PATENTS

This file was deleted.

102 changes: 0 additions & 102 deletions vendor/golang.org/x/sys/execabs/execabs.go

This file was deleted.

18 changes: 0 additions & 18 deletions vendor/golang.org/x/sys/execabs/execabs_go118.go

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/golang.org/x/sys/execabs/execabs_go119.go

This file was deleted.

Loading