fix code with no need line
Showing
1 changed file
with
0 additions
and
2 deletions
| ... | @@ -50,7 +50,6 @@ func (input *BeegoInput) Site() string { | ... | @@ -50,7 +50,6 @@ func (input *BeegoInput) Site() string { |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | // Scheme returns request scheme as "http" or "https". | 52 | // Scheme returns request scheme as "http" or "https". |
| 53 | // if error, return empty string. | ||
| 54 | func (input *BeegoInput) Scheme() string { | 53 | func (input *BeegoInput) Scheme() string { |
| 55 | if input.Request.URL.Scheme != "" { | 54 | if input.Request.URL.Scheme != "" { |
| 56 | return input.Request.URL.Scheme | 55 | return input.Request.URL.Scheme |
| ... | @@ -59,7 +58,6 @@ func (input *BeegoInput) Scheme() string { | ... | @@ -59,7 +58,6 @@ func (input *BeegoInput) Scheme() string { |
| 59 | } else { | 58 | } else { |
| 60 | return "https" | 59 | return "https" |
| 61 | } | 60 | } |
| 62 | return "" | ||
| 63 | } | 61 | } |
| 64 | 62 | ||
| 65 | // Domain returns host name. | 63 | // Domain returns host name. | ... | ... |
-
Please register or sign in to post a comment