File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ all of your data easily.
77
77
78
78
## Example App
79
79
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 )
81
81
82
82
This program demonstrates the implementation of a create, a show,
83
83
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
521
521
the src is committed to my repo.
522
522
523
523
```
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
525
525
```
526
526
527
527
To update,
528
528
529
529
```
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
531
531
```
532
532
533
533
This assumes that I have my repo structured with a ` src ` dir containing
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"net/http/httptest"
11
11
"time"
12
12
13
- "github.com/google /jsonapi"
13
+ "github.com/hashicorp /jsonapi"
14
14
)
15
15
16
16
func main () {
Original file line number Diff line number Diff line change 4
4
"net/http"
5
5
"strconv"
6
6
7
- "github.com/google /jsonapi"
7
+ "github.com/hashicorp /jsonapi"
8
8
)
9
9
10
10
const (
Original file line number Diff line number Diff line change 6
6
"net/http/httptest"
7
7
"testing"
8
8
9
- "github.com/google /jsonapi"
9
+ "github.com/hashicorp /jsonapi"
10
10
)
11
11
12
12
func TestExampleHandler_post (t * testing.T ) {
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"time"
6
6
7
- "github.com/google /jsonapi"
7
+ "github.com/hashicorp /jsonapi"
8
8
)
9
9
10
10
// Blog is a model representing a blog site
You can’t perform that action at this time.
0 commit comments