aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Cholewiński <harry666t@gmail.com>2018-01-04 00:09:28 +0100
committerKamil Cholewiński <harry666t@gmail.com>2018-01-04 00:09:28 +0100
commite18cc0617ce0664c51c18a7dff425bf2ca29cbac (patch)
treed39e1e5d10a75254164812e52be893362dd8d577
parent55e472bc3241f0dd6109a2fb785d9f3fb56cd7af (diff)
downloadjudo-e18cc0617ce0664c51c18a7dff425bf2ca29cbac.zip
judo-e18cc0617ce0664c51c18a7dff425bf2ca29cbac.tar.gz
judo-e18cc0617ce0664c51c18a7dff425bf2ca29cbac.tar.bz2
Making golint happy: else
-rw-r--r--seen.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/seen.go b/seen.go
index c3eb1c7..ccd4d25 100644
--- a/seen.go
+++ b/seen.go
@@ -22,9 +22,8 @@ func (s *SeenString) SeenBefore(name string) bool {
if !s.seen[name] {
s.seen[name] = true
return false
- } else {
- return true
}
+ return true
}
func (s *SeenString) See(name string) {