diff --git a/.circleci/config.yml b/.circleci/config.yml index a2dd5db..6eceb10 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,7 +20,7 @@ jobs: environment: GOPATH: /go - ROOTPATH: /go/src/github.com/vattle/sqlboiler + ROOTPATH: /go/src/github.com/volatiletech/sqlboiler steps: - run: @@ -93,10 +93,10 @@ jobs: - run: name: Make GOPATH - command: mkdir -p /go/src/github.com/vattle/sqlboiler + command: mkdir -p /go/src/github.com/volatiletech/sqlboiler - checkout: - path: /go/src/github.com/vattle/sqlboiler + path: /go/src/github.com/volatiletech/sqlboiler - run: name: Create PSQL DB @@ -118,7 +118,7 @@ jobs: name: Build SQLBoiler command: | cd $ROOTPATH; go get -v -t - cd $ROOTPATH; go build -v github.com/vattle/sqlboiler + cd $ROOTPATH; go build -v github.com/volatiletech/sqlboiler - run: name: 'Configure SQLBoiler: PSQL' diff --git a/README.md b/README.md index 073004e..a033559 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ ![sqlboiler logo](http://i.imgur.com/ilkv0r9.png) -[![License](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/vattle/sqlboiler/blob/master/LICENSE) -[![GoDoc](https://godoc.org/github.com/vattle/sqlboiler?status.svg)](https://godoc.org/github.com/vattle/sqlboiler) +[![License](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/volatiletech/sqlboiler/blob/master/LICENSE) +[![GoDoc](https://godoc.org/github.com/volatiletech/sqlboiler?status.svg)](https://godoc.org/github.com/volatiletech/sqlboiler) [![Mail](https://img.shields.io/badge/mail%20list-sqlboiler-lightgrey.svg)](https://groups.google.com/a/volatile.tech/forum/#!forum/sqlboiler) [![Mail-Annc](https://img.shields.io/badge/mail%20list-sqlboiler--announce-lightgrey.svg)](https://groups.google.com/a/volatile.tech/forum/#!forum/sqlboiler-announce) [![Slack](https://img.shields.io/badge/slack-%23general-lightgrey.svg)](https://sqlboiler.from-the.cloud) -[![CircleCI](https://circleci.com/gh/vattle/sqlboiler.svg?style=shield)](https://circleci.com/gh/vattle/sqlboiler) -[![Go Report Card](https://goreportcard.com/badge/vattle/sqlboiler)](http://goreportcard.com/report/vattle/sqlboiler) +[![CircleCI](https://circleci.com/gh/volatiletech/sqlboiler.svg?style=shield)](https://circleci.com/gh/volatiletech/sqlboiler) +[![Go Report Card](https://goreportcard.com/badge/volatiletech/sqlboiler)](http://goreportcard.com/report/volatiletech/sqlboiler) SQLBoiler is a tool to generate a Go ORM tailored to your database schema. @@ -123,7 +123,7 @@ For a comprehensive list of available operations and examples please see [Featur ```go import ( // Import this so we don't have to use qm.Limit etc. - . "github.com/vattle/sqlboiler/queries/qm" + . "github.com/volatiletech/sqlboiler/queries/qm" ) // Open handle to database like normal @@ -215,7 +215,7 @@ fmt.Println(len(users.R.FavoriteMovies)) #### Download ```shell -go get -u -t github.com/vattle/sqlboiler +go get -u -t github.com/volatiletech/sqlboiler ``` #### Configuration @@ -296,7 +296,7 @@ generate models for, we can invoke the sqlboiler command line utility. ```text SQL Boiler generates a Go ORM from template files, tailored to your database schema. -Complete documentation is available at http://github.com/vattle/sqlboiler +Complete documentation is available at http://github.com/volatiletech/sqlboiler Usage: sqlboiler [flags] @@ -626,7 +626,7 @@ when performing query building. Here is a list of all of your generated query mo ```go // Dot import so we can access query mods directly instead of prefixing with "qm." -import . "github.com/vattle/sqlboiler/queries/qm" +import . "github.com/volatiletech/sqlboiler/queries/qm" // Use a raw query against a generated struct (Pilot in this example) // If this query mod exists in your call, it will override the others. @@ -737,7 +737,7 @@ in combination with your own custom, non-generated model. ### Binding -For a comprehensive ruleset for `Bind()` you can refer to our [godoc](https://godoc.org/github.com/vattle/sqlboiler/queries#Bind). +For a comprehensive ruleset for `Bind()` you can refer to our [godoc](https://godoc.org/github.com/volatiletech/sqlboiler/queries#Bind). The `Bind()` [Finisher](#finisher) allows the results of a query built with the [Raw SQL](#raw-query) method or the [Query Builder](#query-building) methods to be bound @@ -991,7 +991,7 @@ tx.Rollback() ``` It's also worth noting that there's a way to take advantage of `boil.SetDB()` -by using the [boil.Begin()](https://godoc.org/github.com/vattle/sqlboiler/boil#Begin) function. +by using the [boil.Begin()](https://godoc.org/github.com/volatiletech/sqlboiler/boil#Begin) function. This opens a transaction using the globally stored database. ### Debug Logging @@ -1298,12 +1298,12 @@ You *must* use a DSN flag in MySQL connections, see: [Requirements](#requirement #### Where is the homepage? -The homepage for the [SQLBoiler](https://github.com/vattle/sqlboiler) [Golang ORM](https://github.com/vattle/sqlboiler) -generator is located at: https://github.com/vattle/sqlboiler +The homepage for the [SQLBoiler](https://github.com/volatiletech/sqlboiler) [Golang ORM](https://github.com/volatiletech/sqlboiler) +generator is located at: https://github.com/volatiletech/sqlboiler ## Benchmarks -If you'd like to run the benchmarks yourself check out our [boilbench](https://github.com/vattle/boilbench) repo. +If you'd like to run the benchmarks yourself check out our [boilbench](https://github.com/volatiletech/boilbench) repo. ```bash go test -bench . -benchmem diff --git a/bdb/column.go b/bdb/column.go index a3632fc..1990e7d 100644 --- a/bdb/column.go +++ b/bdb/column.go @@ -3,7 +3,7 @@ package bdb import ( "strings" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/strmangle" ) // Column holds information about a database column. diff --git a/bdb/drivers/mock.go b/bdb/drivers/mock.go index 1c91d0e..3b70c09 100644 --- a/bdb/drivers/mock.go +++ b/bdb/drivers/mock.go @@ -1,8 +1,8 @@ package drivers import ( - "github.com/vattle/sqlboiler/bdb" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/strmangle" ) // MockDriver is a mock implementation of the bdb driver Interface diff --git a/bdb/drivers/mssql.go b/bdb/drivers/mssql.go index cb3290a..be7871f 100644 --- a/bdb/drivers/mssql.go +++ b/bdb/drivers/mssql.go @@ -8,7 +8,7 @@ import ( _ "github.com/denisenkom/go-mssqldb" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/bdb" ) // MSSQLDriver holds the database connection string and a handle diff --git a/bdb/drivers/mysql.go b/bdb/drivers/mysql.go index 346e473..a9d98c8 100644 --- a/bdb/drivers/mysql.go +++ b/bdb/drivers/mysql.go @@ -8,7 +8,7 @@ import ( "github.com/go-sql-driver/mysql" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/bdb" ) // TinyintAsBool is a global that is set from main.go if a user specifies diff --git a/bdb/drivers/postgres.go b/bdb/drivers/postgres.go index 34cdd78..a449f18 100644 --- a/bdb/drivers/postgres.go +++ b/bdb/drivers/postgres.go @@ -10,8 +10,8 @@ import ( _ "github.com/lib/pq" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/bdb" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/strmangle" ) // PostgresDriver holds the database connection string and a handle diff --git a/bdb/interface_test.go b/bdb/interface_test.go index e0d4cab..e9af5a0 100644 --- a/bdb/interface_test.go +++ b/bdb/interface_test.go @@ -3,7 +3,7 @@ package bdb import ( "testing" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/strmangle" ) type testMockDriver struct{} diff --git a/boilingcore/boilingcore.go b/boilingcore/boilingcore.go index 5e00687..e10c204 100644 --- a/boilingcore/boilingcore.go +++ b/boilingcore/boilingcore.go @@ -13,10 +13,10 @@ import ( "text/template" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/bdb" - "github.com/vattle/sqlboiler/bdb/drivers" - "github.com/vattle/sqlboiler/queries" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/bdb/drivers" + "github.com/volatiletech/sqlboiler/queries" + "github.com/volatiletech/sqlboiler/strmangle" ) const ( @@ -267,7 +267,7 @@ func (s *State) processReplacements() error { return nil } -var basePackage = "github.com/vattle/sqlboiler" +var basePackage = "github.com/volatiletech/sqlboiler" func getBasePath(baseDirConfig string) (string, error) { if len(baseDirConfig) > 0 { diff --git a/boilingcore/imports.go b/boilingcore/imports.go index eafcf28..47e8f46 100644 --- a/boilingcore/imports.go +++ b/boilingcore/imports.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "github.com/vattle/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/bdb" ) // imports defines the optional standard imports and @@ -171,25 +171,25 @@ func newImporter() importer { }, thirdParty: importList{ `"github.com/pkg/errors"`, - `"github.com/vattle/sqlboiler/boil"`, - `"github.com/vattle/sqlboiler/queries"`, - `"github.com/vattle/sqlboiler/queries/qm"`, - `"github.com/vattle/sqlboiler/strmangle"`, + `"github.com/volatiletech/sqlboiler/boil"`, + `"github.com/volatiletech/sqlboiler/queries"`, + `"github.com/volatiletech/sqlboiler/queries/qm"`, + `"github.com/volatiletech/sqlboiler/strmangle"`, }, } imp.Singleton = mapImports{ "boil_queries": { thirdParty: importList{ - `"github.com/vattle/sqlboiler/boil"`, - `"github.com/vattle/sqlboiler/queries"`, - `"github.com/vattle/sqlboiler/queries/qm"`, + `"github.com/volatiletech/sqlboiler/boil"`, + `"github.com/volatiletech/sqlboiler/queries"`, + `"github.com/volatiletech/sqlboiler/queries/qm"`, }, }, "boil_types": { thirdParty: importList{ `"github.com/pkg/errors"`, - `"github.com/vattle/sqlboiler/strmangle"`, + `"github.com/volatiletech/sqlboiler/strmangle"`, }, }, } @@ -201,9 +201,9 @@ func newImporter() importer { `"testing"`, }, thirdParty: importList{ - `"github.com/vattle/sqlboiler/boil"`, - `"github.com/vattle/sqlboiler/randomize"`, - `"github.com/vattle/sqlboiler/strmangle"`, + `"github.com/volatiletech/sqlboiler/boil"`, + `"github.com/volatiletech/sqlboiler/randomize"`, + `"github.com/volatiletech/sqlboiler/strmangle"`, }, } @@ -223,7 +223,7 @@ func newImporter() importer { `"github.com/kat-co/vala"`, `"github.com/pkg/errors"`, `"github.com/spf13/viper"`, - `"github.com/vattle/sqlboiler/boil"`, + `"github.com/volatiletech/sqlboiler/boil"`, }, }, "boil_queries_test": { @@ -236,7 +236,7 @@ func newImporter() importer { `"regexp"`, }, thirdParty: importList{ - `"github.com/vattle/sqlboiler/boil"`, + `"github.com/volatiletech/sqlboiler/boil"`, }, }, "boil_suites_test": { @@ -261,8 +261,8 @@ func newImporter() importer { thirdParty: importList{ `"github.com/pkg/errors"`, `"github.com/spf13/viper"`, - `"github.com/vattle/sqlboiler/bdb/drivers"`, - `"github.com/vattle/sqlboiler/randomize"`, + `"github.com/volatiletech/sqlboiler/bdb/drivers"`, + `"github.com/volatiletech/sqlboiler/randomize"`, `_ "github.com/lib/pq"`, }, }, @@ -280,8 +280,8 @@ func newImporter() importer { thirdParty: importList{ `"github.com/pkg/errors"`, `"github.com/spf13/viper"`, - `"github.com/vattle/sqlboiler/bdb/drivers"`, - `"github.com/vattle/sqlboiler/randomize"`, + `"github.com/volatiletech/sqlboiler/bdb/drivers"`, + `"github.com/volatiletech/sqlboiler/randomize"`, `_ "github.com/go-sql-driver/mysql"`, }, }, @@ -297,8 +297,8 @@ func newImporter() importer { thirdParty: importList{ `"github.com/pkg/errors"`, `"github.com/spf13/viper"`, - `"github.com/vattle/sqlboiler/bdb/drivers"`, - `"github.com/vattle/sqlboiler/randomize"`, + `"github.com/volatiletech/sqlboiler/bdb/drivers"`, + `"github.com/volatiletech/sqlboiler/randomize"`, `_ "github.com/denisenkom/go-mssqldb"`, }, }, @@ -309,79 +309,79 @@ func newImporter() importer { // TranslateColumnType to see the type assignments. imp.BasedOnType = mapImports{ "null.Float32": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Float64": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Int": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Int8": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Int16": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Int32": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Int64": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Uint": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Uint8": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Uint16": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Uint32": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Uint64": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.String": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Bool": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Time": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.JSON": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "null.Bytes": { - thirdParty: importList{`"gopkg.in/nullbio/null.v6"`}, + thirdParty: importList{`"gopkg.in/volatiletech/null.v6"`}, }, "time.Time": { standard: importList{`"time"`}, }, "types.JSON": { - thirdParty: importList{`"github.com/vattle/sqlboiler/types"`}, + thirdParty: importList{`"github.com/volatiletech/sqlboiler/types"`}, }, "types.BytesArray": { - thirdParty: importList{`"github.com/vattle/sqlboiler/types"`}, + thirdParty: importList{`"github.com/volatiletech/sqlboiler/types"`}, }, "types.Int64Array": { - thirdParty: importList{`"github.com/vattle/sqlboiler/types"`}, + thirdParty: importList{`"github.com/volatiletech/sqlboiler/types"`}, }, "types.Float64Array": { - thirdParty: importList{`"github.com/vattle/sqlboiler/types"`}, + thirdParty: importList{`"github.com/volatiletech/sqlboiler/types"`}, }, "types.BoolArray": { - thirdParty: importList{`"github.com/vattle/sqlboiler/types"`}, + thirdParty: importList{`"github.com/volatiletech/sqlboiler/types"`}, }, "types.StringArray": { - thirdParty: importList{`"github.com/vattle/sqlboiler/types"`}, + thirdParty: importList{`"github.com/volatiletech/sqlboiler/types"`}, }, "types.Hstore": { - thirdParty: importList{`"github.com/vattle/sqlboiler/types"`}, + thirdParty: importList{`"github.com/volatiletech/sqlboiler/types"`}, }, } diff --git a/boilingcore/imports_test.go b/boilingcore/imports_test.go index 6f2cde4..99d37ba 100644 --- a/boilingcore/imports_test.go +++ b/boilingcore/imports_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/bdb" ) func TestImportsSort(t *testing.T) { @@ -234,7 +234,7 @@ func TestCombineTypeImports(t *testing.T) { `"fmt"`, }, thirdParty: importList{ - `"github.com/vattle/sqlboiler/boil"`, + `"github.com/volatiletech/sqlboiler/boil"`, }, } @@ -245,8 +245,8 @@ func TestCombineTypeImports(t *testing.T) { `"time"`, }, thirdParty: importList{ - `"github.com/vattle/sqlboiler/boil"`, - `"gopkg.in/nullbio/null.v6"`, + `"github.com/volatiletech/sqlboiler/boil"`, + `"gopkg.in/volatiletech/null.v6"`, }, } @@ -280,8 +280,8 @@ func TestCombineTypeImports(t *testing.T) { `"time"`, }, thirdParty: importList{ - `"github.com/vattle/sqlboiler/boil"`, - `"gopkg.in/nullbio/null.v6"`, + `"github.com/volatiletech/sqlboiler/boil"`, + `"gopkg.in/volatiletech/null.v6"`, }, } @@ -297,11 +297,11 @@ func TestCombineImports(t *testing.T) { a := imports{ standard: importList{"fmt"}, - thirdParty: importList{"github.com/vattle/sqlboiler", "gopkg.in/nullbio/null.v6"}, + thirdParty: importList{"github.com/volatiletech/sqlboiler", "gopkg.in/volatiletech/null.v6"}, } b := imports{ standard: importList{"os"}, - thirdParty: importList{"github.com/vattle/sqlboiler"}, + thirdParty: importList{"github.com/volatiletech/sqlboiler"}, } c := combineImports(a, b) @@ -309,8 +309,8 @@ func TestCombineImports(t *testing.T) { if c.standard[0] != "fmt" && c.standard[1] != "os" { t.Errorf("Wanted: fmt, os got: %#v", c.standard) } - if c.thirdParty[0] != "github.com/vattle/sqlboiler" && c.thirdParty[1] != "gopkg.in/nullbio/null.v6" { - t.Errorf("Wanted: github.com/vattle/sqlboiler, gopkg.in/nullbio/null.v6 got: %#v", c.thirdParty) + if c.thirdParty[0] != "github.com/volatiletech/sqlboiler" && c.thirdParty[1] != "gopkg.in/volatiletech/null.v6" { + t.Errorf("Wanted: github.com/volatiletech/sqlboiler, gopkg.in/volatiletech/null.v6 got: %#v", c.thirdParty) } } diff --git a/boilingcore/output.go b/boilingcore/output.go index 64f28b5..6b399e0 100644 --- a/boilingcore/output.go +++ b/boilingcore/output.go @@ -14,7 +14,7 @@ import ( "github.com/pkg/errors" ) -var noEditDisclaimer = []byte(`// This file is generated by SQLBoiler (https://github.com/vattle/sqlboiler) +var noEditDisclaimer = []byte(`// This file is generated by SQLBoiler (https://github.com/volatiletech/sqlboiler) // and is meant to be re-generated in place and/or deleted at any time. // DO NOT EDIT diff --git a/boilingcore/templates.go b/boilingcore/templates.go index 9c60739..b353237 100644 --- a/boilingcore/templates.go +++ b/boilingcore/templates.go @@ -9,9 +9,9 @@ import ( "text/template" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/bdb" - "github.com/vattle/sqlboiler/queries" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/queries" + "github.com/volatiletech/sqlboiler/strmangle" ) // templateData for sqlboiler templates diff --git a/boilingcore/text_helpers.go b/boilingcore/text_helpers.go index e9577a7..cf908f5 100644 --- a/boilingcore/text_helpers.go +++ b/boilingcore/text_helpers.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/vattle/sqlboiler/bdb" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/strmangle" ) // TxtToOne contains text that will be used by templates for a one-to-many or diff --git a/boilingcore/text_helpers_test.go b/boilingcore/text_helpers_test.go index 8beed50..dd11a45 100644 --- a/boilingcore/text_helpers_test.go +++ b/boilingcore/text_helpers_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/vattle/sqlboiler/bdb" - "github.com/vattle/sqlboiler/bdb/drivers" + "github.com/volatiletech/sqlboiler/bdb" + "github.com/volatiletech/sqlboiler/bdb/drivers" ) func TestTxtsFromOne(t *testing.T) { diff --git a/main.go b/main.go index ad6cd66..021f1d6 100644 --- a/main.go +++ b/main.go @@ -10,8 +10,8 @@ import ( "github.com/kat-co/vala" "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/vattle/sqlboiler/bdb/drivers" - "github.com/vattle/sqlboiler/boilingcore" + "github.com/volatiletech/sqlboiler/bdb/drivers" + "github.com/volatiletech/sqlboiler/boilingcore" ) const sqlBoilerVersion = "2.5.0" @@ -62,7 +62,7 @@ func main() { Use: "sqlboiler [flags] ", Short: "SQL Boiler generates an ORM tailored to your database schema.", Long: "SQL Boiler generates a Go ORM from template files, tailored to your database schema.\n" + - `Complete documentation is available at http://github.com/vattle/sqlboiler`, + `Complete documentation is available at http://github.com/volatiletech/sqlboiler`, Example: `sqlboiler postgres`, PreRunE: preRun, RunE: run, diff --git a/queries/eager_load.go b/queries/eager_load.go index be62bbd..41f7b27 100644 --- a/queries/eager_load.go +++ b/queries/eager_load.go @@ -6,8 +6,8 @@ import ( "strings" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/boil" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/boil" + "github.com/volatiletech/sqlboiler/strmangle" ) type loadRelationshipState struct { diff --git a/queries/eager_load_test.go b/queries/eager_load_test.go index dc3f5f1..b5125dc 100644 --- a/queries/eager_load_test.go +++ b/queries/eager_load_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/vattle/sqlboiler/boil" + "github.com/volatiletech/sqlboiler/boil" ) var testEagerCounters struct { diff --git a/queries/helpers.go b/queries/helpers.go index 59ad8a3..100e30d 100644 --- a/queries/helpers.go +++ b/queries/helpers.go @@ -4,7 +4,7 @@ import ( "fmt" "reflect" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/strmangle" ) // NonZeroDefaultSet returns the fields included in the diff --git a/queries/helpers_test.go b/queries/helpers_test.go index d37fcd9..e1e2947 100644 --- a/queries/helpers_test.go +++ b/queries/helpers_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - null "gopkg.in/nullbio/null.v6" + null "gopkg.in/volatiletech/null.v6" ) type testObj struct { diff --git a/queries/qm/query_mods.go b/queries/qm/query_mods.go index 81ae3a0..3549528 100644 --- a/queries/qm/query_mods.go +++ b/queries/qm/query_mods.go @@ -1,6 +1,6 @@ package qm -import "github.com/vattle/sqlboiler/queries" +import "github.com/volatiletech/sqlboiler/queries" // QueryMod to modify the query object type QueryMod func(q *queries.Query) diff --git a/queries/query.go b/queries/query.go index 06f06a3..b059484 100644 --- a/queries/query.go +++ b/queries/query.go @@ -4,7 +4,7 @@ import ( "database/sql" "fmt" - "github.com/vattle/sqlboiler/boil" + "github.com/volatiletech/sqlboiler/boil" ) // joinKind is the type of join diff --git a/queries/query_builders.go b/queries/query_builders.go index 2188044..a5c0c36 100644 --- a/queries/query_builders.go +++ b/queries/query_builders.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/strmangle" ) var ( diff --git a/queries/reflect.go b/queries/reflect.go index 9c55b33..4a79ad0 100644 --- a/queries/reflect.go +++ b/queries/reflect.go @@ -8,8 +8,8 @@ import ( "sync" "github.com/pkg/errors" - "github.com/vattle/sqlboiler/boil" - "github.com/vattle/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/boil" + "github.com/volatiletech/sqlboiler/strmangle" ) var ( diff --git a/randomize/randomize.go b/randomize/randomize.go index e3b63c4..26e2cab 100644 --- a/randomize/randomize.go +++ b/randomize/randomize.go @@ -14,12 +14,12 @@ import ( "sync/atomic" "time" - null "gopkg.in/nullbio/null.v6" + null "gopkg.in/volatiletech/null.v6" "github.com/pkg/errors" "github.com/satori/go.uuid" - "github.com/vattle/sqlboiler/strmangle" - "github.com/vattle/sqlboiler/types" + "github.com/volatiletech/sqlboiler/strmangle" + "github.com/volatiletech/sqlboiler/types" ) var ( diff --git a/randomize/randomize_test.go b/randomize/randomize_test.go index 1ca35ba..1aea570 100644 --- a/randomize/randomize_test.go +++ b/randomize/randomize_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - null "gopkg.in/nullbio/null.v6" + null "gopkg.in/volatiletech/null.v6" ) func TestRandomizeStruct(t *testing.T) { diff --git a/strmangle/inflect.go b/strmangle/inflect.go index d81cb29..e60d378 100644 --- a/strmangle/inflect.go +++ b/strmangle/inflect.go @@ -1,6 +1,6 @@ package strmangle -import "github.com/nullbio/inflect" +import "github.com/volatiletech/inflect" var boilRuleset *inflect.Ruleset