diff --git a/CHANGES.md b/CHANGES.md index 4655805..fda41e0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,11 +4,11 @@ Notable changes over time. Note, `go-twitter` does not follow a semver release c ## 07/2019 -* Add Go module support ([#143](https://github.com/dghubble/go-twitter/pull/143)) +* Add Go module support ([#143](https://github.com/socialdog-inc/go-twitter/pull/143)) ## 11/2018 -* Add `DirectMessageService` support for the new Twitter Direct Message Events [API](https://developer.twitter.com/en/docs/direct-messages/api-features) ([#125](https://github.com/dghubble/go-twitter/pull/125)) +* Add `DirectMessageService` support for the new Twitter Direct Message Events [API](https://developer.twitter.com/en/docs/direct-messages/api-features) ([#125](https://github.com/socialdog-inc/go-twitter/pull/125)) * Add `EventsNew` method for sending a Direct Message event * Add `EventsShow` method for getting a single Direct Message event * Add `EventsList` method for listing recent Direct Message events diff --git a/README.md b/README.md index f626c84..ec6b49a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# go-twitter [![GoDoc](https://pkg.go.dev/badge/github.com/dghubble/go-twitter.svg)](https://pkg.go.dev/github.com/dghubble/go-twitter) [![Workflow](https://github.com/dghubble/go-twitter/actions/workflows/test.yaml/badge.svg)](https://github.com/dghubble/go-twitter/actions/workflows/test.yaml?query=branch%3Amain) [![Sponsors](https://img.shields.io/github/sponsors/dghubble?logo=github)](https://github.com/sponsors/dghubble) [![Twitter](https://img.shields.io/badge/twitter-follow-1da1f2?logo=twitter)](https://twitter.com/dghubble) +# go-twitter [![GoDoc](https://pkg.go.dev/badge/github.com/socialdog-inc/go-twitter.svg)](https://pkg.go.dev/github.com/socialdog-inc/go-twitter) [![Workflow](https://github.com/socialdog-inc/go-twitter/actions/workflows/test.yaml/badge.svg)](https://github.com/socialdog-inc/go-twitter/actions/workflows/test.yaml?query=branch%3Amain) [![Sponsors](https://img.shields.io/github/sponsors/dghubble?logo=github)](https://github.com/sponsors/dghubble) [![Twitter](https://img.shields.io/badge/twitter-follow-1da1f2?logo=twitter)](https://twitter.com/dghubble) **DEPRECATED** As of Nov 2022, the go-twitter API library is no longer being developed. If you fork this repo, please remove the logo since it is not covered by the license. @@ -31,11 +31,11 @@ go-twitter is a Go client library for the [Twitter API](https://dev.twitter.com/ ## Install - go get github.com/dghubble/go-twitter/twitter + go get github.com/socialdog-inc/go-twitter/twitter ## Documentation -Read [GoDoc](https://godoc.org/github.com/dghubble/go-twitter/twitter) +Read [GoDoc](https://godoc.org/github.com/socialdog-inc/go-twitter/twitter) ## Usage @@ -228,7 +228,7 @@ For example, make requests as a consumer application on behalf of a user who has ```go // OAuth1 import ( - "github.com/dghubble/go-twitter/twitter" + "github.com/socialdog-inc/go-twitter/twitter" "github.com/dghubble/oauth1" ) @@ -246,7 +246,7 @@ If no user auth context is needed, make requests as your application with applic ```go // OAuth2 import ( - "github.com/dghubble/go-twitter/twitter" + "github.com/socialdog-inc/go-twitter/twitter" "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" ) diff --git a/examples/app-auth.go b/examples/app-auth.go index 95b08ae..eca978d 100644 --- a/examples/app-auth.go +++ b/examples/app-auth.go @@ -6,7 +6,7 @@ import ( "log" "github.com/coreos/pkg/flagutil" - "github.com/dghubble/go-twitter/twitter" + "github.com/socialdog-inc/go-twitter/twitter" "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" ) diff --git a/examples/direct_messages.go b/examples/direct_messages.go index b859f21..2cabea5 100644 --- a/examples/direct_messages.go +++ b/examples/direct_messages.go @@ -7,8 +7,8 @@ import ( "os" "github.com/coreos/pkg/flagutil" - "github.com/dghubble/go-twitter/twitter" "github.com/dghubble/oauth1" + "github.com/socialdog-inc/go-twitter/twitter" ) func main() { diff --git a/examples/go.mod b/examples/go.mod index 027872e..fe3b380 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,10 +1,10 @@ -module github.com/dghubble/go-twitter/examples +module github.com/socialdog-inc/go-twitter/examples go 1.17 require ( github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f - github.com/dghubble/go-twitter v0.0.0-20220716034336-7f63262ef83a + github.com/socialdog-inc/go-twitter v0.0.0-20220716034336-7f63262ef83a github.com/dghubble/oauth1 v0.6.0 golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 ) @@ -18,4 +18,4 @@ require ( google.golang.org/appengine v1.4.0 // indirect ) -replace github.com/dghubble/go-twitter/twitter => ../ +replace github.com/socialdog-inc/go-twitter/twitter => ../ diff --git a/examples/go.sum b/examples/go.sum index cbd4917..c935122 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -6,8 +6,8 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dghubble/go-twitter v0.0.0-20220716034336-7f63262ef83a h1:QDqWWmsz3yf+li4eq4ydnMQUBGiwagNlgRkv0MuALxg= -github.com/dghubble/go-twitter v0.0.0-20220716034336-7f63262ef83a/go.mod h1:q7VYuSasPO79IE/QBNAMYVNlzZNy4Zr7vay6is50u5I= +github.com/socialdog-inc/go-twitter v0.0.0-20220716034336-7f63262ef83a h1:QDqWWmsz3yf+li4eq4ydnMQUBGiwagNlgRkv0MuALxg= +github.com/socialdog-inc/go-twitter v0.0.0-20220716034336-7f63262ef83a/go.mod h1:q7VYuSasPO79IE/QBNAMYVNlzZNy4Zr7vay6is50u5I= github.com/dghubble/oauth1 v0.6.0 h1:m1yC01Ohc/eF38jwZ8JUjL1a+XHHXtGQgK+MxQbmSx0= github.com/dghubble/oauth1 v0.6.0/go.mod h1:8pFdfPkv/jr8mkChVbNVuJ0suiHe278BtWI4Tk1ujxk= github.com/dghubble/sling v1.4.0 h1:/n8MRosVTthvMbwlNZgLx579OGVjUOy3GNEv5BIqAWY= diff --git a/examples/streaming.go b/examples/streaming.go index d37585e..3579555 100644 --- a/examples/streaming.go +++ b/examples/streaming.go @@ -9,8 +9,8 @@ import ( "syscall" "github.com/coreos/pkg/flagutil" - "github.com/dghubble/go-twitter/twitter" "github.com/dghubble/oauth1" + "github.com/socialdog-inc/go-twitter/twitter" ) func main() { diff --git a/examples/user-auth.go b/examples/user-auth.go index e04e37d..c3493ab 100644 --- a/examples/user-auth.go +++ b/examples/user-auth.go @@ -7,8 +7,8 @@ import ( "os" "github.com/coreos/pkg/flagutil" - "github.com/dghubble/go-twitter/twitter" "github.com/dghubble/oauth1" + "github.com/socialdog-inc/go-twitter/twitter" ) func main() { diff --git a/go.mod b/go.mod index 69dfdec..edea028 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dghubble/go-twitter +module github.com/socialdog-inc/go-twitter go 1.17 diff --git a/twitter/doc.go b/twitter/doc.go index 0eba0bd..cc7c937 100644 --- a/twitter/doc.go +++ b/twitter/doc.go @@ -36,7 +36,7 @@ has granted access, with OAuth1. // OAuth1 import ( - "github.com/dghubble/go-twitter/twitter" + "github.com/socialdog-inc/go-twitter/twitter" "github.com/dghubble/oauth1" ) @@ -53,7 +53,7 @@ application auth. // OAuth2 import ( - "github.com/dghubble/go-twitter/twitter" + "github.com/socialdog-inc/go-twitter/twitter" "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" )