summaryrefslogtreecommitdiffstats
path: root/modules/ssh
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-13 20:20:52 -0500
committerUnknwon <u@gogs.io>2015-12-13 20:20:52 -0500
commitacdb4d8bdd31ee910c6c5fa6db65379703bdfbca (patch)
treee08c3b86a813399d8353a2ed5e95ba28214ff32f /modules/ssh
parent95f9c85bcc8f915d823f57cd5923302dfc156504 (diff)
downloadgitea-acdb4d8bdd31ee910c6c5fa6db65379703bdfbca.tar.gz
gitea-acdb4d8bdd31ee910c6c5fa6db65379703bdfbca.zip
Drop Go 1.3 support
Diffstat (limited to 'modules/ssh')
-rw-r--r--modules/ssh/ssh.go2
-rw-r--r--modules/ssh/ssh_1.3.go7
2 files changed, 0 insertions, 9 deletions
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")
-}