1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Files
mage/parse/testdata/command.go
2017-09-27 00:05:03 -04:00

17 lines
292 B
Go

// +build mage
package main
import "fmt"
// This should work as a default - even if it's in a different file
var Default = ReturnsError
// this should not be a target because it returns a string
func ReturnsString() string {
fmt.Println("more stuff")
return ""
}
func ReturnsVoid() {}