Documentation
¶
Overview ¶
Package gomod reads and edits the go.mod of a project through the go command.
go mod edit works offline and keeps the file formatted the way go writes it, which is why it is used instead of editing the text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTool ¶
AddTool declares a tool. The module is required at the given version unless the project already requires it: a version the project chose is kept.
Types ¶
Click to show internal directories.
Click to hide internal directories.