From ae98493c78dc63229fda1e3d903f5c741be2efb2 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 29 Sep 2016 14:13:43 +0100 Subject: [PATCH] Unused import, HTTPS API and GIFs --- src/github.com/matrix-org/go-neb/services/guggy/guggy.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/go-neb/services/guggy/guggy.go b/src/github.com/matrix-org/go-neb/services/guggy/guggy.go index 4cb491b..d409069 100644 --- a/src/github.com/matrix-org/go-neb/services/guggy/guggy.go +++ b/src/github.com/matrix-org/go-neb/services/guggy/guggy.go @@ -9,7 +9,6 @@ import ( "github.com/matrix-org/go-neb/plugin" "github.com/matrix-org/go-neb/types" "net/http" - "strconv" "strings" ) type guggyQuery struct { @@ -101,7 +100,7 @@ func (s *guggyService) text2gifGuggy(querySentence string) (*guggyGifResult, err reader := bytes.NewReader(reqBody) - req, err := http.NewRequest("POST", "http://text2gif.guggy.com/guggify", reader) + req, err := http.NewRequest("POST", "https://text2gif.guggy.com/guggify", reader) if err != nil { log.Error(err) return nil, err