Skip to content

Commit

Permalink
change import paths to github.com/cj123/test2doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cj123 committed Feb 25, 2018
1 parent b8a8e38 commit 17d82d2
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion doc/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"text/template"

"github.com/adams-sarah/test2doc/doc/parse"
"github.com/cj123/test2doc/doc/parse"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion doc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"text/template"

"github.com/adams-sarah/test2doc/doc/parse"
"github.com/cj123/test2doc/doc/parse"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion doc/parse/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const camelCase = "[A-Z]?[^A-Z]*"

// GetTitle extracts a title from the function name,
// where longFnName is of the form:
// github.com/adams-sarah/test2doc/example.GetWidget
// github.com/cj123/test2doc/example.GetWidget
// and the out title would be:
// Handle Get Widget
func GetTitle(longFnName string) string {
Expand Down
2 changes: 1 addition & 1 deletion doc/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"
"strings"

"github.com/adams-sarah/test2doc/doc/parse"
"github.com/cj123/test2doc/doc/parse"
)

type URL struct {
Expand Down
4 changes: 2 additions & 2 deletions example/foos/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

"github.com/adams-sarah/prettytest"
"github.com/adams-sarah/test2doc/test"
"github.com/adams-sarah/test2doc/vars"
"github.com/cj123/test2doc/test"
"github.com/cj123/test2doc/vars"
"github.com/gorilla/mux"
)

Expand Down
4 changes: 2 additions & 2 deletions example/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"log"
"net/http"

"github.com/adams-sarah/test2doc/example/foos"
"github.com/adams-sarah/test2doc/example/widgets"
"github.com/cj123/test2doc/example/foos"
"github.com/cj123/test2doc/example/widgets"
"github.com/gorilla/mux"
)

Expand Down
4 changes: 2 additions & 2 deletions example/widgets/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

"github.com/adams-sarah/prettytest"
"github.com/adams-sarah/test2doc/test"
"github.com/adams-sarah/test2doc/vars"
"github.com/cj123/test2doc/test"
"github.com/cj123/test2doc/vars"
"github.com/gorilla/mux"
)

Expand Down
2 changes: 1 addition & 1 deletion test/responsewriter.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package test

import (
"github.com/adams-sarah/test2doc/doc/parse"
"github.com/cj123/test2doc/doc/parse"
"log"
"net/http"
"net/http/httptest"
Expand Down
4 changes: 2 additions & 2 deletions test/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"net/http/httptest"
"sort"

"github.com/adams-sarah/test2doc/doc"
"github.com/adams-sarah/test2doc/doc/parse"
"github.com/cj123/test2doc/doc"
"github.com/cj123/test2doc/doc/parse"
)

// resources = map[uri]Resource
Expand Down
2 changes: 1 addition & 1 deletion test/urlparameters.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package test

import "github.com/adams-sarah/test2doc/doc/parse"
import "github.com/cj123/test2doc/doc/parse"

func RegisterURLVarExtractor(fn parse.URLVarExtractor) {
parse.SetURLVarExtractor(&fn)
Expand Down
2 changes: 1 addition & 1 deletion vars/gorillamux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package vars
import (
"net/http"

"github.com/adams-sarah/test2doc/doc/parse"
"github.com/cj123/test2doc/doc/parse"
"github.com/gorilla/mux"
)

Expand Down
2 changes: 1 addition & 1 deletion vars/httprouter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strings"

"github.com/adams-sarah/test2doc/doc/parse"
"github.com/cj123/test2doc/doc/parse"
"github.com/julienschmidt/httprouter"
)

Expand Down

0 comments on commit 17d82d2

Please sign in to comment.