File tree Expand file tree Collapse file tree 7 files changed +12
-20
lines changed
Expand file tree Collapse file tree 7 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ import (
66 "log"
77 "net/http"
88
9- "github.com/friendsofgo/gopher-api /pkg/storage/inmem"
9+ "github.com/friendsofgo/gopherapi /pkg/storage/inmem"
1010
11- sample "github.com/friendsofgo/gopher-api /cmd/sample-data"
12- gopher "github.com/friendsofgo/gopher-api /pkg"
11+ sample "github.com/friendsofgo/gopherapi /cmd/sample-data"
12+ gopher "github.com/friendsofgo/gopherapi /pkg"
1313
14- "github.com/friendsofgo/gopher-api /pkg/server"
14+ "github.com/friendsofgo/gopherapi /pkg/server"
1515)
1616
1717func main () {
Original file line number Diff line number Diff line change 11package sample
22
33import (
4- gopher "github.com/friendsofgo/gopher-api /pkg"
4+ gopher "github.com/friendsofgo/gopherapi /pkg"
55)
66
77var Gophers = map [string ]* gopher.Gopher {
Original file line number Diff line number Diff line change 1- module github.com/friendsofgo/gopher-api
1+ module github.com/friendsofgo/gopherapi
22
3- require (
4- github.com/aperezg/monster v0.0.0-20190201085025-648ece19f831
5- github.com/gorilla/mux v1.7.0
6- )
3+ require github.com/gorilla/mux v1.7.0
Original file line number Diff line number Diff line change 1- github.com/aperezg/monster v0.0.0-20190201085025-648ece19f831 h1:zcVrTQ22nmJ1+0sp9Lc7OuAMkNqqbEy/3OKXiWB2ods =
2- github.com/aperezg/monster v0.0.0-20190201085025-648ece19f831 /go.mod h1:59SPFI3k23yeORvJqB1py+ZSdAgQKVaPAMZ0ZUWvZyo =
3- github.com/google/jsonapi v0.0.0-20181016150055-d0428f63eb51 /go.mod h1:XSx4m2SziAqk9DXY9nz659easTq4q6TyrpYd9tHSm0g =
41github.com/gorilla/mux v1.7.0 h1:tOSd0UKHQd6urX6ApfOn4XdBMY6Sh1MfxV3kmaazO+U =
52github.com/gorilla/mux v1.7.0 /go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs =
6- github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4 =
7- github.com/oklog/ulid v1.3.1 /go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U =
Original file line number Diff line number Diff line change 44 "encoding/json"
55 "net/http"
66
7- gopher "github.com/friendsofgo/gopher-api /pkg"
7+ gopher "github.com/friendsofgo/gopherapi /pkg"
88
99 "github.com/gorilla/mux"
1010)
Original file line number Diff line number Diff line change 88 "net/http/httptest"
99 "testing"
1010
11- sample "github.com/friendsofgo/gopher-api /cmd/sample-data"
12- gopher "github.com/friendsofgo/gopher-api /pkg"
13- "github.com/friendsofgo/gopher-api /pkg/storage/inmem"
11+ sample "github.com/friendsofgo/gopherapi /cmd/sample-data"
12+ gopher "github.com/friendsofgo/gopherapi /pkg"
13+ "github.com/friendsofgo/gopherapi /pkg/storage/inmem"
1414)
1515
1616func TestFetchGophers (t * testing.T ) {
Original file line number Diff line number Diff line change 44 "fmt"
55 "sync"
66
7- gopher "github.com/friendsofgo/gopher-api /pkg"
7+ gopher "github.com/friendsofgo/gopherapi /pkg"
88)
99
1010type gopherRepository struct {
You can’t perform that action at this time.
0 commit comments