Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34a3e58

Browse files
committed
- Reverted repository from dimag-jfrog to mattes to prepare for pull request
1 parent dec52a7 commit 34a3e58

23 files changed

+69
-69
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
go: &go
22
image: golang
3-
working_dir: /go/src/github.com/dimag-jfrog/migrate
3+
working_dir: /go/src/github.com/mattes/migrate
44
volumes:
55
- $GOPATH:/go
66
go-test:

driver/bash/bash.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
package bash
33

44
import (
5-
"github.com/dimag-jfrog/migrate/driver"
6-
"github.com/dimag-jfrog/migrate/file"
5+
"github.com/mattes/migrate/driver"
6+
"github.com/mattes/migrate/file"
77
)
88

99
type Driver struct {

driver/cassandra/cassandra.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"time"
1010

1111
"github.com/gocql/gocql"
12-
"github.com/dimag-jfrog/migrate/driver"
13-
"github.com/dimag-jfrog/migrate/file"
14-
"github.com/dimag-jfrog/migrate/migrate/direction"
12+
"github.com/mattes/migrate/driver"
13+
"github.com/mattes/migrate/file"
14+
"github.com/mattes/migrate/migrate/direction"
1515
)
1616

1717
type Driver struct {

driver/cassandra/cassandra_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"time"
88

99
"github.com/gocql/gocql"
10-
"github.com/dimag-jfrog/migrate/file"
11-
"github.com/dimag-jfrog/migrate/migrate/direction"
12-
pipep "github.com/dimag-jfrog/migrate/pipe"
10+
"github.com/mattes/migrate/file"
11+
"github.com/mattes/migrate/migrate/direction"
12+
pipep "github.com/mattes/migrate/pipe"
1313
)
1414

1515
func TestMigrate(t *testing.T) {

driver/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
neturl "net/url" // alias to allow `url string` func signature in New
77

8-
"github.com/dimag-jfrog/migrate/file"
8+
"github.com/mattes/migrate/file"
99
)
1010

1111
// Driver is the interface type that needs to implemented by all drivers.

driver/mongodb/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
## Usage in Go
1111

1212
```go
13-
import "github.com/dimag-jfrog/migrate/migrate"
13+
import "github.com/mattes/migrate/migrate"
1414

1515
// Import your migration methods package so that they are registered and available for the MongoDB driver.
1616
// There is no need to import the MongoDB driver explicitly, as it should already be imported by your migration methods package.
@@ -59,14 +59,14 @@ V001_some_migration_operation_down
5959

6060
## Methods registration
6161

62-
For a detailed example see: [sample_mongodb_migrator.go](https://github.com/dimag-jfrog/migrate/blob/master/driver/mongodb/example/sample_mongdb_migrator.go)
62+
For a detailed example see: [sample_mongodb_migrator.go](https://github.com/mattes/migrate/blob/master/driver/mongodb/example/sample_mongdb_migrator.go)
6363

6464
```go
6565
package my_mongo_db_migrator
6666

6767
import (
68-
"github.com/dimag-jfrog/migrate/driver/mongodb"
69-
"github.com/dimag-jfrog/migrate/driver/mongodb/gomethods"
68+
"github.com/mattes/migrate/driver/mongodb"
69+
"github.com/mattes/migrate/driver/mongodb/gomethods"
7070
"gopkg.in/mgo.v2"
7171
)
7272

driver/mongodb/example/mongodb_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ package example
33
import (
44
"testing"
55

6-
"github.com/dimag-jfrog/migrate/file"
7-
"github.com/dimag-jfrog/migrate/migrate/direction"
6+
"github.com/mattes/migrate/file"
7+
"github.com/mattes/migrate/migrate/direction"
88

9-
"github.com/dimag-jfrog/migrate/driver"
10-
"github.com/dimag-jfrog/migrate/driver/mongodb"
11-
"github.com/dimag-jfrog/migrate/driver/mongodb/gomethods"
12-
pipep "github.com/dimag-jfrog/migrate/pipe"
9+
"github.com/mattes/migrate/driver"
10+
"github.com/mattes/migrate/driver/mongodb"
11+
"github.com/mattes/migrate/driver/mongodb/gomethods"
12+
pipep "github.com/mattes/migrate/pipe"
1313
"os"
1414
"reflect"
1515
"time"

driver/mongodb/example/sample_mongdb_migrator.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package example
22

33
import (
4-
"github.com/dimag-jfrog/migrate/driver/mongodb/gomethods"
5-
_ "github.com/dimag-jfrog/migrate/driver/mongodb/gomethods"
4+
"github.com/mattes/migrate/driver/mongodb/gomethods"
5+
_ "github.com/mattes/migrate/driver/mongodb/gomethods"
66
"gopkg.in/mgo.v2"
77
"gopkg.in/mgo.v2/bson"
88
"time"
99

10-
"github.com/dimag-jfrog/migrate/driver/mongodb"
10+
"github.com/mattes/migrate/driver/mongodb"
1111
)
1212

1313
type SampleMongoDbMigrator struct {

driver/mongodb/gomethods/gomethods_migrator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package gomethods
33
import (
44
"bufio"
55
"fmt"
6-
"github.com/dimag-jfrog/migrate/driver"
7-
"github.com/dimag-jfrog/migrate/file"
6+
"github.com/mattes/migrate/driver"
7+
"github.com/mattes/migrate/file"
88
"os"
99
"path"
1010
"strings"

driver/mongodb/gomethods/gomethods_migrator_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/dimag-jfrog/migrate/file"
8-
"github.com/dimag-jfrog/migrate/migrate/direction"
7+
"github.com/mattes/migrate/file"
8+
"github.com/mattes/migrate/migrate/direction"
99

10-
pipep "github.com/dimag-jfrog/migrate/pipe"
10+
pipep "github.com/mattes/migrate/pipe"
1111
)
1212

1313
type FakeGoMethodsInvoker struct {

0 commit comments

Comments
 (0)