mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-16 15:50:52 -07:00
style(format): run gofmt
This commit is contained in:
parent
8a9f267229
commit
0fe050bbc4
@ -40,7 +40,7 @@ func (t *Translator) Translate(message string) (translation *core.Translation, e
|
||||
|
||||
var textURL string
|
||||
if len(t.GetHost()) > 0 {
|
||||
textURL = "http://"+t.GetHost()+"/translate"
|
||||
textURL = "http://" + t.GetHost() + "/translate"
|
||||
} else {
|
||||
textURL = defaultURL
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user