aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/magefile/mage/parse/testdata/func.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/magefile/mage/parse/testdata/func.go')
-rw-r--r--vendor/github.com/magefile/mage/parse/testdata/func.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/magefile/mage/parse/testdata/func.go b/vendor/github.com/magefile/mage/parse/testdata/func.go
new file mode 100644
index 0000000..9492775
--- /dev/null
+++ b/vendor/github.com/magefile/mage/parse/testdata/func.go
@@ -0,0 +1,14 @@
+// +build mage
+
+package main
+
+import "fmt"
+
+// Synopsis for "returns" error.
+// And some more text.
+func ReturnsNilError() error {
+ fmt.Println("stuff")
+ return nil
+}
+
+func nonexported() {}