aboutsummaryrefslogtreecommitdiff
path: root/vendor/honnef.co/go/tools/version
diff options
context:
space:
mode:
authorJoseph Richey <joerichey94@gmail.com>2018-02-11 20:34:07 -0800
committerJoseph Richey <joerichey94@gmail.com>2018-02-11 20:34:07 -0800
commit23b8c7b4eab0375b3d59cf4b2a1f3d7356515f95 (patch)
tree6ec67f8d6b15420c3870d2b7c43b2b636fbb8349 /vendor/honnef.co/go/tools/version
parentfff13ea9041a3945e36d5f002c3c0a1e0e93c825 (diff)
vendor: include source for tools
This change vendors the source for all our build, formatting, and linting tools. Generated by running "dep ensure".
Diffstat (limited to 'vendor/honnef.co/go/tools/version')
-rw-r--r--vendor/honnef.co/go/tools/version/version.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/honnef.co/go/tools/version/version.go b/vendor/honnef.co/go/tools/version/version.go
new file mode 100644
index 0000000..9536482
--- /dev/null
+++ b/vendor/honnef.co/go/tools/version/version.go
@@ -0,0 +1,17 @@
+package version
+
+import (
+ "fmt"
+ "os"
+ "path/filepath"
+)
+
+const Version = "2017.2.2"
+
+func Print() {
+ if Version == "devel" {
+ fmt.Printf("%s (no version)\n", filepath.Base(os.Args[0]))
+ } else {
+ fmt.Printf("%s %s\n", filepath.Base(os.Args[0]), Version)
+ }
+}