summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-13 03:14:43 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-13 03:14:43 -0400
commit9d983f27d69b72f42eeb833cb0f38e78e3819839 (patch)
tree41fe885c7ee0a2ddfca1e3f2c8597b692167ead7 /modules/base
parent5c2da610a2cfd3fa9666d20739e054c3588b4d05 (diff)
downloadgitea-9d983f27d69b72f42eeb833cb0f38e78e3819839.tar.gz
gitea-9d983f27d69b72f42eeb833cb0f38e78e3819839.zip
go vet
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/tool.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 0f06b3e0e2..082c039250 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -284,7 +284,6 @@ func TimeSince(then time.Time) string {
default:
return fmt.Sprintf("%d years %s", diff/Year, lbl)
}
- return then.String()
}
const (