@@ -22,7 +22,7 @@ func (s *ProcessorSuite) TestInlineStruct() {
22
22
fixtureSrc := `
23
23
package fixture
24
24
25
- import "github.com /src-d/go-kallax"
25
+ import "gopkg.in /src-d/go-kallax.v1 "
26
26
27
27
type Foo struct {}
28
28
@@ -42,7 +42,7 @@ func (s *ProcessorSuite) TestTags() {
42
42
fixtureSrc := `
43
43
package fixture
44
44
45
- import "github.com /src-d/go-kallax"
45
+ import "gopkg.in /src-d/go-kallax.v1 "
46
46
47
47
type Foo struct {
48
48
kallax.Model
@@ -59,7 +59,7 @@ func (s *ProcessorSuite) TestRecursiveModel() {
59
59
fixtureSrc := `
60
60
package fixture
61
61
62
- import "github.com /src-d/go-kallax"
62
+ import "gopkg.in /src-d/go-kallax.v1 "
63
63
64
64
type Recur struct {
65
65
kallax.Model
@@ -80,7 +80,7 @@ func (s *ProcessorSuite) TestDeepRecursiveStruct() {
80
80
fixtureSrc := `
81
81
package fixture
82
82
83
- import "github.com /src-d/go-kallax"
83
+ import "gopkg.in /src-d/go-kallax.v1 "
84
84
85
85
type Recur struct {
86
86
kallax.Model
@@ -109,7 +109,7 @@ func (s *ProcessorSuite) TestIsEventPresent() {
109
109
fixtureSrc := `
110
110
package fixture
111
111
112
- import "github.com /src-d/go-kallax"
112
+ import "gopkg.in /src-d/go-kallax.v1 "
113
113
114
114
type Foo struct {
115
115
kallax.Model
@@ -148,7 +148,7 @@ func (s *ProcessorSuite) TestProcessField() {
148
148
fixtureSrc := `
149
149
package fixture
150
150
151
- import "github.com /src-d/go-kallax"
151
+ import "gopkg.in /src-d/go-kallax.v1 "
152
152
import "database/sql/driver"
153
153
154
154
type BasicAlias string
@@ -246,7 +246,7 @@ func (s *ProcessorSuite) TestCtor() {
246
246
fixtureSrc := `
247
247
package fixture
248
248
249
- import "github.com /src-d/go-kallax"
249
+ import "gopkg.in /src-d/go-kallax.v1 "
250
250
251
251
type Foo struct {
252
252
kallax.Model
@@ -269,7 +269,7 @@ func (s *ProcessorSuite) TestSQLTypeIsInterface() {
269
269
fixtureSrc := `
270
270
package fixture
271
271
272
- import "github.com /src-d/go-kallax"
272
+ import "gopkg.in /src-d/go-kallax.v1 "
273
273
import "database/sql/driver"
274
274
275
275
type Foo struct {
@@ -298,7 +298,7 @@ func (s *ProcessorSuite) TestIsSQLType() {
298
298
fixtureSrc := `
299
299
package fixture
300
300
301
- import "github.com /src-d/go-kallax"
301
+ import "gopkg.in /src-d/go-kallax.v1 "
302
302
303
303
type SQLTypeFixture struct {
304
304
kallax.Model
@@ -340,7 +340,7 @@ func (s *ProcessorSuite) processFixture(source string) *Package {
340
340
}
341
341
342
342
func (s * ProcessorSuite ) TestDo () {
343
- p := NewProcessor (filepath .Join (goPath , "src" , "github.com /src-d/go-kallax" ), []string {"README.md" })
343
+ p := NewProcessor (filepath .Join (goPath , "src" , "gopkg.in /src-d/go-kallax.v1 " ), []string {"README.md" })
344
344
pkg , err := p .Do ()
345
345
s .NotNil (pkg )
346
346
s .NoError (err )
@@ -350,7 +350,7 @@ func (s *ProcessorSuite) TestIsModel() {
350
350
src := `
351
351
package fixture
352
352
353
- import "github.com /src-d/go-kallax"
353
+ import "gopkg.in /src-d/go-kallax.v1 "
354
354
355
355
type Bar struct {
356
356
kallax.Model
@@ -392,7 +392,7 @@ func (s *ProcessorSuite) TestIsEmbedded() {
392
392
src := `
393
393
package fixture
394
394
395
- import "github.com /src-d/go-kallax"
395
+ import "gopkg.in /src-d/go-kallax.v1 "
396
396
397
397
type Bar struct {
398
398
kallax.Model
0 commit comments