site/vendor/github.com/magefile/mage/parse/testdata/func.go

15 lines
190 B
Go

// +build mage
package main
import "fmt"
// Synopsis for "returns" error.
// And some more text.
func ReturnsNilError() error {
fmt.Println("stuff")
return nil
}
func nonexported() {}