Skip to content

Commit 4542557

Browse files
committed
Export gomodifytags logic into a package
This PR moves the `gomodifytags` tool into its package to be imported by other applications (i.e.: `gopls`). It's currently deliberately put under `internal`, as I want to make sure it meets the needs of others. related: golang/vscode-go#2002
1 parent 46cec66 commit 4542557

File tree

146 files changed

+1756
-1737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+1756
-1737
lines changed

internal/gomodifytags/gomodifytags.go

Lines changed: 801 additions & 0 deletions
Large diffs are not rendered by default.

internal/gomodifytags/gomodifytags_test.go

Lines changed: 929 additions & 0 deletions
Large diffs are not rendered by default.

main.go

Lines changed: 25 additions & 814 deletions
Large diffs are not rendered by default.

main_test.go

Lines changed: 1 addition & 923 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)