2d77c4dc by 傅小黑

fix code with no need line

1 parent f535916f
...@@ -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.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!