Browse Source

Unused import, HTTPS API and GIFs

pull/75/head
Luke Barnard 8 years ago
parent
commit
ae98493c78
  1. 3
      src/github.com/matrix-org/go-neb/services/guggy/guggy.go

3
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/plugin"
"github.com/matrix-org/go-neb/types" "github.com/matrix-org/go-neb/types"
"net/http" "net/http"
"strconv"
"strings" "strings"
) )
type guggyQuery struct { type guggyQuery struct {
@ -101,7 +100,7 @@ func (s *guggyService) text2gifGuggy(querySentence string) (*guggyGifResult, err
reader := bytes.NewReader(reqBody) 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 { if err != nil {
log.Error(err) log.Error(err)
return nil, err return nil, err

Loading…
Cancel
Save