aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/magefile/mage/parse/testdata/func.go
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-12-13 10:43:58 -0800
committerChristine Dodrill <me@christine.website>2017-12-13 10:43:58 -0800
commit91dd3b19f69bfbeefb22c66f75ea3321f2f97bb8 (patch)
tree39b7911168d9ffc501894b79842975735bde6c81 /vendor/github.com/magefile/mage/parse/testdata/func.go
parent141a3320ff790cbaa52319371de530ae9fd09d89 (diff)
downloadxesite-91dd3b19f69bfbeefb22c66f75ea3321f2f97bb8.tar.xz
xesite-91dd3b19f69bfbeefb22c66f75ea3321f2f97bb8.zip
convert to go buildpack
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() {}