Skip to content

Commit

Permalink
Merge pull request #2 from socialdog-inc/repo-change-name
Browse files Browse the repository at this point in the history
repo名変更
  • Loading branch information
jez321 authored Feb 2, 2024
2 parents 60ebaaa + a4217d7 commit 465e668
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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"
)

Expand All @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/app-auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/direct_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
6 changes: 3 additions & 3 deletions examples/go.mod
Original file line number Diff line number Diff line change
@@ -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
)
Expand All @@ -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 => ../
4 changes: 2 additions & 2 deletions examples/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion examples/streaming.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion examples/user-auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dghubble/go-twitter
module github.com/socialdog-inc/go-twitter

go 1.17

Expand Down
4 changes: 2 additions & 2 deletions twitter/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand All @@ -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"
)
Expand Down

0 comments on commit 465e668

Please sign in to comment.