Skip to content

Commit

Permalink
update 'go mod' commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-x committed Dec 5, 2024
1 parent c6d5ca2 commit ae6e349
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,13 +525,16 @@ type GoLintComplaining struct{}
| ------- | ----------- |
| GoCmt | Add comment |

## GoModTidy
## GoMod Commands

| command | Description |
| ----------- | ------------------------------------- |
| GoModInit | run `go mod init` and restart gopls |
| GoModTidy | run `go mod tidy` and restart gopls |
| GoModVendor | run `go mod vendor` and restart gopls |
| GoModWhy | run `go mod why` for current module |
| GoModDnld | run `go mod download` for current module |
| GoModGraph | run `go mod graph` |

run `go mod tidy` and restart gopls

Expand Down

0 comments on commit ae6e349

Please sign in to comment.