aboutsummaryrefslogtreecommitdiff
path: root/proxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.go')
-rw-r--r--proxy.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/proxy.go b/proxy.go
index 6628aec..e04c121 100644
--- a/proxy.go
+++ b/proxy.go
@@ -43,10 +43,10 @@ func Path(path ...string) string {
}
// Version returns the version string of the running instance.
-func Version() (version string, ok bool) {
+func Version() (string, bool) {
info, ok := debug.ReadBuildInfo()
if !ok {
- return
+ return "", false
}
for _, dep := range info.Deps {
@@ -55,5 +55,5 @@ func Version() (version string, ok bool) {
}
}
- return
+ return "", false
}