mirror of https://github.com/pressly/goose.git
Move lib/goose into top level pkg
parent
8488cc47d9
commit
47e4c98a97
|
@ -12,7 +12,7 @@ You can manage your database's evolution by creating incremental SQL or Go scrip
|
||||||
|
|
||||||
This will install the `goose` binary to your `$GOPATH/bin` directory.
|
This will install the `goose` binary to your `$GOPATH/bin` directory.
|
||||||
|
|
||||||
You can also build goose into your own applications by importing `bitbucket.org/liamstask/goose/lib/goose`. Documentation is available at [godoc.org](http://godoc.org/bitbucket.org/liamstask/goose/lib/goose).
|
You can also build goose into your own applications by importing `github.com/pressly/goose`. Documentation is available at [godoc.org](http://godoc.org/github.com/pressly/goose).
|
||||||
|
|
||||||
NOTE: the API is still new, and may undergo some changes.
|
NOTE: the API is still new, and may undergo some changes.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
"github.com/pressly/goose"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
"github.com/pressly/goose"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
"github.com/pressly/goose"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
"github.com/pressly/goose"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
"github.com/pressly/goose"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/pressly/goose"
|
||||||
)
|
)
|
||||||
|
|
||||||
var upCmd = &Command{
|
var upCmd = &Command{
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
|
"github.com/pressly/goose/lib/goose"
|
||||||
)
|
)
|
||||||
|
|
||||||
// global options. available to any subcommands.
|
// global options. available to any subcommands.
|
||||||
|
|
|
@ -105,7 +105,7 @@ import (
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
|
||||||
_ "{{.Import}}"
|
_ "{{.Import}}"
|
||||||
"bitbucket.org/liamstask/goose/lib/goose"
|
"github.com/pressly/goose"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
Loading…
Reference in New Issue