rename lib goose to gormgoose
This commit is contained in:
parent
b6684a18ac
commit
a4bbc26e1e
@ -13,7 +13,7 @@ You can manage your database's evolution by creating incremental SQL or Go scrip
|
||||
|
||||
This will install the `gorm-goose` binary to your `$GOPATH/bin` directory.
|
||||
|
||||
You can also build gorm-goose into your own applications by importing `github.com/Altoros/gorm-goose/lib/goose`.
|
||||
You can also build gorm-goose into your own applications by importing `github.com/Altoros/gorm-goose/lib/gorm-goose`.
|
||||
|
||||
# Usage
|
||||
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/Altoros/gorm-goose/lib/goose"
|
||||
goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
|
||||
)
|
||||
|
||||
var createCmd = &Command{
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/Altoros/gorm-goose/lib/goose"
|
||||
goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
|
||||
)
|
||||
|
||||
var dbVersionCmd = &Command{
|
||||
|
@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/Altoros/gorm-goose/lib/goose"
|
||||
goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
|
||||
)
|
||||
|
||||
var downCmd = &Command{
|
||||
|
@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/Altoros/gorm-goose/lib/goose"
|
||||
goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
|
||||
)
|
||||
|
||||
var redoCmd = &Command{
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/Altoros/gorm-goose/lib/goose"
|
||||
goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
|
||||
"github.com/jinzhu/gorm"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/Altoros/gorm-goose/lib/goose"
|
||||
goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
|
||||
)
|
||||
|
||||
var upCmd = &Command{
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
"text/template"
|
||||
|
||||
"github.com/Altoros/gorm-goose/lib/goose"
|
||||
goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
|
||||
)
|
||||
|
||||
// global options. available to any subcommands.
|
||||
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"fmt"
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"os"
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"errors"
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"testing"
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"bytes"
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"bufio"
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"strings"
|
@ -1,4 +1,4 @@
|
||||
package goose
|
||||
package gormgoose
|
||||
|
||||
import (
|
||||
"io"
|
Loading…
Reference in New Issue
Block a user