Skip to content

Commit

Permalink
Update import path to github.com/braintree-go/braintree-go (braintree…
Browse files Browse the repository at this point in the history
…-go#263)

What
===
Update import path to github.com/braintree-go/braintree-go.

Why
===
@lionelbarrow moved the project from his personal account into a GitHub
organization, `braintree-go`, and the import paths need updating.
  • Loading branch information
leighmcculloch authored Oct 17, 2018
1 parent 60b1d1a commit d77e053
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: go
go_import_path: github.com/lionelbarrow/braintree-go
go_import_path: github.com/braintree-go/braintree-go

install:
- source .default.env
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Braintree Go

[![GoDoc](https://godoc.org/github.com/lionelbarrow/braintree-go?status.svg)](http://godoc.org/github.com/lionelbarrow/braintree-go) [![Build Status](https://travis-ci.org/lionelbarrow/braintree-go.png?branch=master)](https://travis-ci.org/lionelbarrow/braintree-go) [![Go Report Card](https://goreportcard.com/badge/github.com/lionelbarrow/braintree-go)](https://goreportcard.com/report/github.com/lionelbarrow/braintree-go)
[![GoDoc](https://godoc.org/github.com/braintree-go/braintree-go?status.svg)](http://godoc.org/github.com/braintree-go/braintree-go) [![Build Status](https://travis-ci.org/braintree-go/braintree-go.png?branch=master)](https://travis-ci.org/braintree-go/braintree-go) [![Go Report Card](https://goreportcard.com/badge/github.com/braintree-go/braintree-go)](https://goreportcard.com/report/github.com/braintree-go/braintree-go)

A Go client library for [Braintree](https://www.braintreepayments.com), the payments company behind awesome companies like GitHub, Heroku, and 37signals.

Expand All @@ -13,7 +13,7 @@ With that said, this package contains more than enough to get you started accept
Setting up your credentials is easy.

```go
import "github.com/lionelbarrow/braintree-go"
import "github.com/braintree-go/braintree-go"

bt := braintree.New(
braintree.Sandbox,
Expand Down Expand Up @@ -43,7 +43,7 @@ In addition to creating transactions, you can also tokenize credit card informat

### Installation

The usual. `go get github.com/lionelbarrow/braintree-go`
The usual. `go get github.com/braintree-go/braintree-go`

### Supported Go Versions

Expand All @@ -57,7 +57,7 @@ The usual. `go get github.com/lionelbarrow/braintree-go`

Braintree provides a [ton of documentation](https://www.braintreepayments.com/docs/ruby/guide/overview) on how to use their API. I recommend you use the Ruby documentation when following along, as the Ruby client library is broadly similar to this one.

For details on this package, see [GoDoc](http://godoc.org/github.com/lionelbarrow/braintree-go).
For details on this package, see [GoDoc](http://godoc.org/github.com/braintree-go/braintree-go).

### Testing

Expand All @@ -84,7 +84,7 @@ import (
"testing"
"net/http/httptest"

"github.com/lionelbarrow/braintree-go"
"github.com/braintree-go/braintree-go"
)

func TestMyWebhook(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion credit_card_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"time"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

func TestCreditCard(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion customer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package braintree

import (
"github.com/lionelbarrow/braintree-go/customfields"
"github.com/braintree-go/braintree-go/customfields"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion customer_apple_pay_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"reflect"
"testing"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

func TestCustomerApplePayCard(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion customer_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"strings"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

// This test will fail unless you set up your Braintree sandbox account correctly. See TESTING.md for details.
Expand Down
2 changes: 1 addition & 1 deletion disbursement.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"encoding/xml"

"github.com/lionelbarrow/braintree-go/date"
"github.com/braintree-go/braintree-go/date"
)

type Disbursement struct {
Expand Down
2 changes: 1 addition & 1 deletion examples/subscription/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"net/http"
"os"

"github.com/lionelbarrow/braintree-go"
"github.com/braintree-go/braintree-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/transaction/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/http"
"os"

"github.com/lionelbarrow/braintree-go"
"github.com/braintree-go/braintree-go"
)

type BraintreeJS struct {
Expand Down
2 changes: 1 addition & 1 deletion examples/transaction_3ds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"net/http"
"os"

"github.com/lionelbarrow/braintree-go"
"github.com/braintree-go/braintree-go"
)

func getBT() *braintree.Braintree {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module github.com/lionelbarrow/braintree-go
module github.com/braintree-go/braintree-go
2 changes: 1 addition & 1 deletion init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"time"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion merchant_account_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"encoding/xml"
"testing"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

func TestMerchantAccountCreate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion payment_method_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

func TestPaymentMethod(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion response.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"strings"

"github.com/lionelbarrow/braintree-go/xmlnil"
"github.com/braintree-go/braintree-go/xmlnil"
)

type Response struct {
Expand Down
2 changes: 1 addition & 1 deletion subscription_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"
"time"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

// This test will fail unless you set up your Braintree sandbox account correctly. See TESTING.md for details.
Expand Down
2 changes: 1 addition & 1 deletion transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/xml"
"time"

"github.com/lionelbarrow/braintree-go/customfields"
"github.com/braintree-go/braintree-go/customfields"
)

type TransactionStatus string
Expand Down
2 changes: 1 addition & 1 deletion transaction_apple_pay_details_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"context"
"testing"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

func TestTransactionApplePayDetails(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion transaction_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

"github.com/lionelbarrow/braintree-go/testhelpers"
"github.com/braintree-go/braintree-go/testhelpers"
)

func randomAmount() *Decimal {
Expand Down
2 changes: 1 addition & 1 deletion webhook_notification_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package braintree
import (
"encoding/base64"
"encoding/xml"
"github.com/lionelbarrow/braintree-go/xmlnil"
"github.com/braintree-go/braintree-go/xmlnil"
"net/http"
)

Expand Down

0 comments on commit d77e053

Please sign in to comment.