Skip to content

Commit 7460950

Browse files
committed
Represent fork repo in the README
1 parent 473eb21 commit 7460950

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ all of your data easily.
7777

7878
## Example App
7979

80-
[examples/app.go](https://github.com/google/jsonapi/blob/master/examples/app.go)
80+
[examples/app.go](https://github.com/hashicorp/jsonapi/blob/main/examples/app.go)
8181

8282
This program demonstrates the implementation of a create, a show,
8383
and a list [http.Handler](http://golang.org/pkg/net/http#Handler). It
@@ -521,13 +521,13 @@ I use git subtrees to manage dependencies rather than `go get` so that
521521
the src is committed to my repo.
522522

523523
```
524-
git subtree add --squash --prefix=src/github.com/google/jsonapi https://github.com/google/jsonapi.git master
524+
git subtree add --squash --prefix=src/github.com/hashicorp/jsonapi https://github.com/hashicorp/jsonapi.git main
525525
```
526526

527527
To update,
528528

529529
```
530-
git subtree pull --squash --prefix=src/github.com/google/jsonapi https://github.com/google/jsonapi.git master
530+
git subtree pull --squash --prefix=src/github.com/hashicorp/jsonapi https://github.com/hashicorp/jsonapi.git main
531531
```
532532

533533
This assumes that I have my repo structured with a `src` dir containing

examples/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"net/http/httptest"
1111
"time"
1212

13-
"github.com/google/jsonapi"
13+
"github.com/hashicorp/jsonapi"
1414
)
1515

1616
func main() {

examples/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net/http"
55
"strconv"
66

7-
"github.com/google/jsonapi"
7+
"github.com/hashicorp/jsonapi"
88
)
99

1010
const (

examples/handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http/httptest"
77
"testing"
88

9-
"github.com/google/jsonapi"
9+
"github.com/hashicorp/jsonapi"
1010
)
1111

1212
func TestExampleHandler_post(t *testing.T) {

examples/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/google/jsonapi"
7+
"github.com/hashicorp/jsonapi"
88
)
99

1010
// Blog is a model representing a blog site

0 commit comments

Comments
 (0)