Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
Remove references to local sling, use main lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lornajane committed Jan 2, 2020
1 parent f85999b commit d2955a3
Show file tree
Hide file tree
Showing 20 changed files with 12 additions and 1,617 deletions.
2 changes: 1 addition & 1 deletion application_base.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package nexmo

import "github.com/nexmo-community/nexmo-go/sling"
import "github.com/dghubble/sling"

// Use the Application API to create and manage your applications. More info: https://developer.nexmo.com/application
type ApplicationService struct {
Expand Down
2 changes: 1 addition & 1 deletion auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"fmt"

"github.com/dghubble/sling"
"github.com/dgrijalva/jwt-go"
"github.com/nexmo-community/nexmo-go/sling"
)

type AuthType uint8
Expand Down
2 changes: 1 addition & 1 deletion call_base.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package nexmo

import "github.com/nexmo-community/nexmo-go/sling"
import "github.com/dghubble/sling"

// For working with the Voice API. More information about Voice: https://developer.nexmo.com/voice/voice-api/
type CallService struct {
Expand Down
2 changes: 1 addition & 1 deletion calls.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/nexmo-community/nexmo-go/sling"
"github.com/dghubble/sling"
)

func (c *CallErrorResponse) Error() string {
Expand Down
2 changes: 1 addition & 1 deletion developer_base.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package nexmo

import "github.com/nexmo-community/nexmo-go/sling"
import "github.com/dghubble/sling"

// Developer API allows configuration of account and balance checking. See also: https://developer.nexmo.com/api/account
type DeveloperService struct {
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/nexmo-community/nexmo-go
go 1.11

require (
github.com/dghubble/sling v1.3.0
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/google/go-querystring v1.0.0
github.com/jarcoal/httpmock v1.0.4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dghubble/sling v1.3.0 h1:pZHjCJq4zJvc6qVQ5wN1jo5oNZlNE0+8T/h0XeXBUKU=
github.com/dghubble/sling v1.3.0/go.mod h1:XXShWaBWKzNLhu2OxikSNFrlsvowtz4kyRuXUG7oQKY=
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
Expand Down
2 changes: 1 addition & 1 deletion insight_base.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package nexmo

import "github.com/nexmo-community/nexmo-go/sling"
import "github.com/dghubble/sling"

// Number Insights provides information at varying levels of detail (basic/standard/advanced) about a phone number. For more information, visit the developer documentation https://developer.nexmo.com/number-insight
type InsightService struct {
Expand Down
2 changes: 1 addition & 1 deletion nexmo.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"runtime"

"github.com/nexmo-community/nexmo-go/sling"
"github.com/dghubble/sling"
)

// The main client object
Expand Down
10 changes: 0 additions & 10 deletions sling/.travis.yml

This file was deleted.

58 changes: 0 additions & 58 deletions sling/CHANGES.md

This file was deleted.

21 changes: 0 additions & 21 deletions sling/LICENSE

This file was deleted.

8 changes: 0 additions & 8 deletions sling/README.md

This file was deleted.

67 changes: 0 additions & 67 deletions sling/body.go

This file was deleted.

Loading

0 comments on commit d2955a3

Please sign in to comment.