1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Files
mage/parse/testdata/subcommands.go
fazal b853551298 Check for duplicates with namespace prefixed if any (#137)
Check for duplicates with namespace prefixed if any
2018-08-26 09:11:00 -04:00

24 lines
321 B
Go

// +build mage
package main
import "github.com/magefile/mage/mg"
type Build mg.Namespace
func (Build) Foobar() error {
// do your foobar build
return nil
}
func (Build) Baz() {
// do your baz build
}
type Init mg.Namespace
func (Init) Foobar() error {
// do your foobar defined in init namespace
return nil
}