From acdb4d8bdd31ee910c6c5fa6db65379703bdfbca Mon Sep 17 00:00:00 2001
From: Unknwon <u@gogs.io>
Date: Sun, 13 Dec 2015 20:20:52 -0500
Subject: [PATCH] Drop Go 1.3 support

---
 .travis.yml            | 1 -
 gogs.go                | 2 +-
 modules/ssh/ssh.go     | 2 --
 modules/ssh/ssh_1.3.go | 7 -------
 4 files changed, 1 insertion(+), 11 deletions(-)
 delete mode 100644 modules/ssh/ssh_1.3.go

diff --git a/.travis.yml b/.travis.yml
index 837d9a1ccc..3ddbd39f0d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,6 @@
 language: go
 
 go:
-  - 1.3
   - 1.4
   - 1.5
 
diff --git a/gogs.go b/gogs.go
index d43dd53aca..1aba36339d 100644
--- a/gogs.go
+++ b/gogs.go
@@ -1,4 +1,4 @@
-// +build go1.3
+// +build go1.4
 
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
diff --git a/modules/ssh/ssh.go b/modules/ssh/ssh.go
index 68cbeaeacb..15ba02a2b1 100644
--- a/modules/ssh/ssh.go
+++ b/modules/ssh/ssh.go
@@ -1,5 +1,3 @@
-// +build go1.4
-
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
 // license that can be found in the LICENSE file.
diff --git a/modules/ssh/ssh_1.3.go b/modules/ssh/ssh_1.3.go
deleted file mode 100644
index 62275ee6ae..0000000000
--- a/modules/ssh/ssh_1.3.go
+++ /dev/null
@@ -1,7 +0,0 @@
-// +build !go1.4
-
-package ssh
-
-func Listen(port int) {
-	panic("Gogs requires Go 1.4 for starting a SSH server")
-}