summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/kardianos/osext/osext_go18.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/kardianos/osext/osext_go18.go')
-rw-r--r--vendor/github.com/kardianos/osext/osext_go18.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/kardianos/osext/osext_go18.go b/vendor/github.com/kardianos/osext/osext_go18.go
new file mode 100644
index 00000000..7065a5ff
--- /dev/null
+++ b/vendor/github.com/kardianos/osext/osext_go18.go
@@ -0,0 +1,9 @@
+//+build go1.8
+
+package osext
+
+import "os"
+
+func executable() (string, error) {
+ return os.Executable()
+}