From 2d77c4dc493dfe9b6fb4b568f04bd2f402af2e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E5=B0=8F=E9=BB=91?= Date: Thu, 26 Dec 2013 00:44:49 +0800 Subject: [PATCH] fix code with no need line --- context/input.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/context/input.go b/context/input.go index 47740f4e..308dd77c 100644 --- a/context/input.go +++ b/context/input.go @@ -50,7 +50,6 @@ func (input *BeegoInput) Site() string { } // Scheme returns request scheme as "http" or "https". -// if error, return empty string. func (input *BeegoInput) Scheme() string { if input.Request.URL.Scheme != "" { return input.Request.URL.Scheme @@ -59,7 +58,6 @@ func (input *BeegoInput) Scheme() string { } else { return "https" } - return "" } // Domain returns host name.