mageXT contains some extensions for usage in go magefiles.
You can see the extensions in this repository in action:
mage.go: is the mage 'executable'mage_targets.go: contains the actual targets for mage an uses packages likegocmd,cilintcmd, etc.mage_env.go: defines the mage environment by using themageenvpackage
| package | description | godoc |
|---|---|---|
| mageenv | helper package for working with environment variables | godoc |
| gocmd | go commands like get, install |
godoc |
| cilintcmd | commands for golangci-lint | godoc |