Documentation ¶
Overview ¶
Package golang contains go code related mage targets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Go ¶
Go groups together go related tasks.
func (Go) CheckVendor ¶
CheckVendor checks if vendor is in sync with go.mod. The approach is: - Delete vendor dir - Run go mod vendor - Run git add so that any changes resulting from go vendor will be in git staging area - Run git diff to find changes - If there are change we print them, unstage them and exit with 1
Click to show internal directories.
Click to hide internal directories.