rename lib goose to gormgoose

This commit is contained in:
Vladimir Sagan 2016-09-09 16:50:20 +03:00
parent b6684a18ac
commit a4bbc26e1e
16 changed files with 16 additions and 16 deletions

View File

@ -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. 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 # Usage

View File

@ -7,7 +7,7 @@ import (
"path/filepath" "path/filepath"
"time" "time"
"github.com/Altoros/gorm-goose/lib/goose" goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
) )
var createCmd = &Command{ var createCmd = &Command{

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/Altoros/gorm-goose/lib/goose" goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
) )
var dbVersionCmd = &Command{ var dbVersionCmd = &Command{

View File

@ -3,7 +3,7 @@ package main
import ( import (
"log" "log"
"github.com/Altoros/gorm-goose/lib/goose" goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
) )
var downCmd = &Command{ var downCmd = &Command{

View File

@ -3,7 +3,7 @@ package main
import ( import (
"log" "log"
"github.com/Altoros/gorm-goose/lib/goose" goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
) )
var redoCmd = &Command{ var redoCmd = &Command{

View File

@ -6,7 +6,7 @@ import (
"path/filepath" "path/filepath"
"time" "time"
"github.com/Altoros/gorm-goose/lib/goose" goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
) )

View File

@ -3,7 +3,7 @@ package main
import ( import (
"log" "log"
"github.com/Altoros/gorm-goose/lib/goose" goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
) )
var upCmd = &Command{ var upCmd = &Command{

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
"text/template" "text/template"
"github.com/Altoros/gorm-goose/lib/goose" goose "github.com/Altoros/gorm-goose/lib/gorm-goose"
) )
// global options. available to any subcommands. // global options. available to any subcommands.

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"os" "os"

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"errors" "errors"

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"testing" "testing"

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"bufio" "bufio"

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"strings" "strings"

View File

@ -1,4 +1,4 @@
package goose package gormgoose
import ( import (
"io" "io"