Skip to content

Commit

Permalink
Changed import for go.mod compatibility.
Browse files Browse the repository at this point in the history
This is required until GeertJohan#159 is
merged.
  • Loading branch information
cmaglie committed Sep 15, 2020
1 parent 01e5be5 commit c36e8bc
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion box.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"time"

"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
)

// Box abstracts a directory for resources/files.
Expand Down
2 changes: 1 addition & 1 deletion config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io/ioutil"
"testing"

"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
)

// For all test code in this package, define a set of test boxes.
Expand Down
2 changes: 1 addition & 1 deletion embedded.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"time"

"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
)

// re-type to make exported methods invisible to user (godoc)
Expand Down
2 changes: 1 addition & 1 deletion example/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"text/template"

"github.com/GeertJohan/go.rice"
"github.com/cmaglie/go.rice"
"github.com/davecgh/go-spew/spew"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/GeertJohan/go.rice
module github.com/cmaglie/go.rice

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion rice/embed-go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestEmbedGo(t *testing.T) {
[]byte(`package main
import (
"github.com/GeertJohan/go.rice"
"github.com/cmaglie/go.rice"
)
func main() {
Expand Down
4 changes: 2 additions & 2 deletions rice/embed-syso.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"text/template"

"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
"github.com/akavel/rsrc/coff"
)

Expand Down Expand Up @@ -45,7 +45,7 @@ import "C"
import (
"bytes"
"encoding/gob"
"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
"unsafe"
)
Expand Down
16 changes: 8 additions & 8 deletions rice/find_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestFindOneBox(t *testing.T) {
[]byte(`package main
import (
"github.com/GeertJohan/go.rice"
"github.com/cmaglie/go.rice"
)
func main() {
Expand Down Expand Up @@ -54,7 +54,7 @@ func TestFindOneBoxViaVariable(t *testing.T) {
[]byte(`package main
import (
"github.com/GeertJohan/go.rice"
"github.com/cmaglie/go.rice"
)
func main() {
Expand Down Expand Up @@ -86,7 +86,7 @@ func TestFindMultipleBoxes(t *testing.T) {
[]byte(`package main
import (
"github.com/GeertJohan/go.rice"
"github.com/cmaglie/go.rice"
)
func main() {
Expand Down Expand Up @@ -145,7 +145,7 @@ func TestUnrelatedBoxesAreNotFound(t *testing.T) {
[]byte(`package foobar
import (
_ "github.com/GeertJohan/go.rice"
_ "github.com/cmaglie/go.rice"
)
type fakerice struct {}
Expand Down Expand Up @@ -187,7 +187,7 @@ func TestMixGoodAndBadBoxes(t *testing.T) {
[]byte(`package foobar
import (
_ "github.com/GeertJohan/go.rice"
_ "github.com/cmaglie/go.rice"
)
type fakerice struct {}
Expand All @@ -212,7 +212,7 @@ func LoadBoxes1() {
[]byte(`package foobar
import (
noodles "github.com/GeertJohan/go.rice"
noodles "github.com/cmaglie/go.rice"
)
func LoadBoxes2() {
Expand All @@ -226,7 +226,7 @@ func LoadBoxes2() {
[]byte(`package foobar
import (
"github.com/GeertJohan/go.rice"
"github.com/cmaglie/go.rice"
)
func LoadBoxes3() {
Expand All @@ -239,7 +239,7 @@ func LoadBoxes3() {
[]byte(`package foobar
import (
. "github.com/GeertJohan/go.rice"
. "github.com/cmaglie/go.rice"
)
func LoadBoxes3() {
Expand Down
2 changes: 1 addition & 1 deletion rice/identifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"strconv"

"github.com/GeertJohan/go.incremental"
"github.com/cmaglie/go.incremental"
)

var identifierCount incremental.Uint64
Expand Down
2 changes: 1 addition & 1 deletion rice/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func init() {
import (
"time"
"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
)
{{range .Boxes}}
Expand Down
2 changes: 1 addition & 1 deletion virtual.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"sort"

"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
)

//++ TODO: IDEA: merge virtualFile and virtualDir, this decreases work done by rice.File
Expand Down
2 changes: 1 addition & 1 deletion virtual_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/GeertJohan/go.rice/embedded"
"github.com/cmaglie/go.rice/embedded"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit c36e8bc

Please sign in to comment.