Browse Source

unused function

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

8
src/github.com/matrix-org/go-neb/services/guggy/guggy.go

@ -125,14 +125,6 @@ func (s *guggyService) text2gifGuggy(querySentence string) (*guggyGifResult, err
return &result, nil return &result, nil
} }
func asInt(strInt string) uint {
u64, err := strconv.ParseUint(strInt, 10, 32)
if err != nil {
return 0 // default to 0 since these are all just hints to the client
}
return uint(u64)
}
func init() { func init() {
types.RegisterService(func(serviceID, serviceUserID, webhookEndpointURL string) types.Service { types.RegisterService(func(serviceID, serviceUserID, webhookEndpointURL string) types.Service {
return &guggyService{ return &guggyService{

Loading…
Cancel
Save