Skip to content

Commit b7e2796

Browse files
committed
Update import paths
1 parent 2f74a48 commit b7e2796

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+270
-270
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
environment:
2222
GOPATH: /go
23-
ROOTPATH: /go/src/github.com/volatiletech/sqlboiler
23+
ROOTPATH: /go/src/github.com/aarondl/sqlboiler
2424

2525
steps:
2626
- run:
@@ -29,7 +29,7 @@ jobs:
2929

3030
- checkout:
3131
name: 'Checkout'
32-
path: /go/src/github.com/volatiletech/sqlboiler
32+
path: /go/src/github.com/aarondl/sqlboiler
3333

3434
# Workaround to allow the use of the circleci local cli.
3535
- run:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ with the Github code review tools. Then it will be merged into master, and later
4242

4343
## Developer getting started
4444

45-
1. Add a [Configuration files](https://github.com/volatiletech/sqlboiler#configuration).
45+
1. Add a [Configuration files](https://github.com/aarondl/sqlboiler#configuration).
4646
1. Write your changes
4747
1. Generate executable. Run again if you have changed anything in core code or driver code.
4848
```
@@ -60,7 +60,7 @@ with the Github code review tools. Then it will be merged into master, and later
6060
1. You may need to install following package before able to run the tests.
6161

6262
```
63-
go get -u github.com/volatiletech/null
63+
go get -u github.com/aarondl/null
6464
```
6565

6666
1. Test the output

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
![sqlboiler logo](https://i.imgur.com/lMXUTPE.png)
22

3-
[![License](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/volatiletech/sqlboiler/blob/master/LICENSE)
4-
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4)](https://pkg.go.dev/mod/github.com/volatiletech/sqlboiler/v4)
3+
[![License](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/aarondl/sqlboiler/blob/master/LICENSE)
4+
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4)](https://pkg.go.dev/mod/github.com/aarondl/sqlboiler/v4)
55
[![Slack](https://img.shields.io/badge/slack-%23general-lightgrey.svg)](https://sqlboiler.from-the.cloud)
6-
![ActionsCI](https://github.com/volatiletech/sqlboiler/workflows/test/badge.svg)
6+
![ActionsCI](https://github.com/aarondl/sqlboiler/workflows/test/badge.svg)
77
[![Go Report Card](https://goreportcard.com/badge/volatiletech/sqlboiler)](http://goreportcard.com/report/volatiletech/sqlboiler)
88

99
# Maintenance Mode
@@ -170,10 +170,10 @@ of that SQLBoiler also confers the following benefits:
170170

171171
| Database | Driver Location |
172172
| ----------------- | --------------------------------------------------------------------------------------------------- |
173-
| PostgreSQL | [https://github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-psql](drivers/sqlboiler-psql) |
174-
| MySQL | [https://github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-mysql](drivers/sqlboiler-mysql) |
175-
| MSSQLServer 2012+ | [https://github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-mssql](drivers/sqlboiler-mssql) |
176-
| SQLite3 | [https://github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-sqlite3](drivers/sqlboiler-sqlite3) |
173+
| PostgreSQL | [https://github.com/aarondl/sqlboiler/v4/drivers/sqlboiler-psql](drivers/sqlboiler-psql) |
174+
| MySQL | [https://github.com/aarondl/sqlboiler/v4/drivers/sqlboiler-mysql](drivers/sqlboiler-mysql) |
175+
| MSSQLServer 2012+ | [https://github.com/aarondl/sqlboiler/v4/drivers/sqlboiler-mssql](drivers/sqlboiler-mssql) |
176+
| SQLite3 | [https://github.com/aarondl/sqlboiler/v4/drivers/sqlboiler-sqlite3](drivers/sqlboiler-sqlite3) |
177177
| CockroachDB | https://github.com/glerchundi/sqlboiler-crdb |
178178

179179
**Note:** SQLBoiler supports out of band driver support so you can make your own
@@ -187,7 +187,7 @@ For a comprehensive list of available operations and examples please see [Featur
187187
```go
188188
import (
189189
// Import this so we don't have to use qm.Limit etc.
190-
. "github.com/volatiletech/sqlboiler/v4/queries/qm"
190+
. "github.com/aarondl/sqlboiler/v4/queries/qm"
191191
)
192192

193193
// Open handle to database like normal
@@ -309,16 +309,16 @@ Ensure you don't forget any /v suffixes or you'll end up on an old version.
309309

310310
```shell
311311
# Go 1.16 and above:
312-
go install github.com/volatiletech/sqlboiler/v4@latest
313-
go install github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-psql@latest
312+
go install github.com/aarondl/sqlboiler/v4@latest
313+
go install github.com/aarondl/sqlboiler/v4/drivers/sqlboiler-psql@latest
314314

315315
# Go 1.15 and below:
316316
# Install sqlboiler v4 and the postgresql driver (mysql, mssql, sqlite3 also available)
317317
# NOTE: DO NOT run this inside another Go module (like your project) as it will
318318
# pollute your go.mod with a bunch of stuff you don't want and your binary
319319
# will not get installed.
320-
GO111MODULE=on go get -u -t github.com/volatiletech/sqlboiler/v4
321-
GO111MODULE=on go get github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-psql
320+
GO111MODULE=on go get -u -t github.com/aarondl/sqlboiler/v4
321+
GO111MODULE=on go get github.com/aarondl/sqlboiler/v4/drivers/sqlboiler-psql
322322
```
323323

324324
To install `sqlboiler` as a dependency in your project use the commands below
@@ -327,9 +327,9 @@ into your `go.mod` file at the correct version.
327327

328328
```shell
329329
# Do not forget the trailing /v4 and /v8 in the following commands
330-
go get github.com/volatiletech/sqlboiler/v4
330+
go get github.com/aarondl/sqlboiler/v4
331331
# Assuming you're going to use the null package for its additional null types
332-
go get github.com/volatiletech/null/v8
332+
go get github.com/aarondl/null/v8
333333
```
334334

335335
#### Configuration
@@ -462,7 +462,7 @@ generate models for, we can invoke the sqlboiler command line utility.
462462

463463
```text
464464
SQL Boiler generates a Go ORM from template files, tailored to your database schema.
465-
Complete documentation is available at http://github.com/volatiletech/sqlboiler
465+
Complete documentation is available at http://github.com/aarondl/sqlboiler
466466
467467
Usage:
468468
sqlboiler [flags] <driver>
@@ -1244,7 +1244,7 @@ safe, but be careful!
12441244

12451245
```go
12461246
// Dot import so we can access query mods directly instead of prefixing with "qm."
1247-
import . "github.com/volatiletech/sqlboiler/v4/queries/qm"
1247+
import . "github.com/aarondl/sqlboiler/v4/queries/qm"
12481248

12491249
// Use a raw query against a generated struct (Pilot in this example)
12501250
// If this query mod exists in your call, it will override the others.
@@ -1384,7 +1384,7 @@ in combination with your own custom, non-generated model.
13841384

13851385
### Binding
13861386

1387-
For a comprehensive ruleset for `Bind()` you can refer to our [pkg.go.dev](https://pkg.go.dev/github.com/volatiletech/sqlboiler/v4/queries#Bind).
1387+
For a comprehensive ruleset for `Bind()` you can refer to our [pkg.go.dev](https://pkg.go.dev/github.com/aarondl/sqlboiler/v4/queries#Bind).
13881388

13891389
The `Bind()` [Finisher](#finisher) allows the results of a query built with
13901390
the [Raw SQL](#raw-query) method or the [Query Builder](#query-building) methods to be bound
@@ -1664,7 +1664,7 @@ tx.Rollback()
16641664

16651665
It's also worth noting that there's a way to take advantage of `boil.SetDB()`
16661666
by using the
1667-
[boil.BeginTx()](https://pkg.go.dev/github.com/volatiletech/sqlboiler/v4/boil#BeginTx)
1667+
[boil.BeginTx()](https://pkg.go.dev/github.com/aarondl/sqlboiler/v4/boil#BeginTx)
16681668
function. This opens a transaction using the globally stored database.
16691669

16701670
### Debug Logging
@@ -1739,7 +1739,7 @@ greylist in cases where you want to insert a Go zero value.
17391739
**NOTE:** CreatedAt/UpdatedAt are not included in `Whitelist` automatically.
17401740

17411741
See the documentation for
1742-
[boil.Columns.InsertColumnSet](https://pkg.go.dev/github.com/volatiletech/sqlboiler/v4/boil/#Columns.InsertColumnSet)
1742+
[boil.Columns.InsertColumnSet](https://pkg.go.dev/github.com/aarondl/sqlboiler/v4/boil/#Columns.InsertColumnSet)
17431743
for more details.
17441744

17451745
```go
@@ -1792,7 +1792,7 @@ documentation above for more details.
17921792
**NOTE:** CreatedAt/UpdatedAt are not included in `Whitelist` automatically.
17931793

17941794
See the documentation for
1795-
[boil.Columns.UpdateColumnSet](https://pkg.go.dev/github.com/volatiletech/sqlboiler/v4/boil/#Columns.UpdateColumnSet)
1795+
[boil.Columns.UpdateColumnSet](https://pkg.go.dev/github.com/aarondl/sqlboiler/v4/boil/#Columns.UpdateColumnSet)
17961796
for more details.
17971797

17981798
```go
@@ -2078,8 +2078,8 @@ You _must_ use a DSN flag in MySQL connections, see: [Requirements](#requirement
20782078

20792079
#### Where is the homepage?
20802080

2081-
The homepage for the [SQLBoiler](https://github.com/volatiletech/sqlboiler) [Golang ORM](https://github.com/volatiletech/sqlboiler)
2082-
generator is located at: https://github.com/volatiletech/sqlboiler
2081+
The homepage for the [SQLBoiler](https://github.com/aarondl/sqlboiler) [Golang ORM](https://github.com/aarondl/sqlboiler)
2082+
generator is located at: https://github.com/aarondl/sqlboiler
20832083

20842084
#### Why are the auto-generated tests failing?
20852085

@@ -2102,7 +2102,7 @@ errors relating to foreign key constraints.
21022102

21032103
## Benchmarks
21042104

2105-
If you'd like to run the benchmarks yourself check out our [boilbench](https://github.com/volatiletech/boilbench) repo.
2105+
If you'd like to run the benchmarks yourself check out our [boilbench](https://github.com/aarondl/boilbench) repo.
21062106

21072107
```bash
21082108
go test -bench . -benchmem

boil.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DRIVER_DB="sqlboiler_driver_test"
1515
build() {
1616
driver=$1
1717

18-
buildPath=github.com/volatiletech/sqlboiler/v4
18+
buildPath=github.com/aarondl/sqlboiler/v4
1919
case "${driver}" in
2020
all)
2121
set -o xtrace

boil/columns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package boil
22

33
import (
4-
"github.com/volatiletech/strmangle"
4+
"github.com/aarondl/strmangle"
55
)
66

77
// Columns kinds

boilingcore/aliases.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"unicode"
66
"unicode/utf8"
77

8-
"github.com/volatiletech/sqlboiler/v4/drivers"
9-
"github.com/volatiletech/strmangle"
8+
"github.com/aarondl/sqlboiler/v4/drivers"
9+
"github.com/aarondl/strmangle"
1010
)
1111

1212
// Aliases defines aliases for the generation run

boilingcore/aliases_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/volatiletech/sqlboiler/v4/drivers"
7+
"github.com/aarondl/sqlboiler/v4/drivers"
88
)
99

1010
func TestAliasesTables(t *testing.T) {

boilingcore/boilingcore.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import (
1313
"strings"
1414

1515
"github.com/friendsofgo/errors"
16-
"github.com/volatiletech/strmangle"
16+
"github.com/aarondl/strmangle"
1717

18-
"github.com/volatiletech/sqlboiler/v4/drivers"
19-
"github.com/volatiletech/sqlboiler/v4/importers"
20-
boiltemplates "github.com/volatiletech/sqlboiler/v4/templates"
18+
"github.com/aarondl/sqlboiler/v4/drivers"
19+
"github.com/aarondl/sqlboiler/v4/importers"
20+
boiltemplates "github.com/aarondl/sqlboiler/v4/templates"
2121
)
2222

2323
var (
@@ -763,7 +763,7 @@ func (s *State) verifyModVersion() error {
763763
return fmt.Errorf(
764764
"\tsqlboiler version in go.mod (%s) does not match executable version (%s)."+
765765
"\n\tYou can update it with:"+
766-
"\n\tgo get github.com/volatiletech/sqlboiler/v4",
766+
"\n\tgo get github.com/aarondl/sqlboiler/v4",
767767
string(match[0]),
768768
s.Config.Version,
769769
)

boilingcore/boilingcore_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
"strconv"
1212
"testing"
1313

14-
"github.com/volatiletech/sqlboiler/v4/importers"
15-
"github.com/volatiletech/strmangle"
14+
"github.com/aarondl/sqlboiler/v4/importers"
15+
"github.com/aarondl/strmangle"
1616

17-
"github.com/volatiletech/sqlboiler/v4/drivers"
18-
"github.com/volatiletech/sqlboiler/v4/drivers/mocks"
17+
"github.com/aarondl/sqlboiler/v4/drivers"
18+
"github.com/aarondl/sqlboiler/v4/drivers/mocks"
1919
)
2020

2121
var state *State
@@ -107,7 +107,7 @@ func testNew(t *testing.T, aliases Aliases) {
107107
t.Fatalf("go env GOMOD cmd execution failed: %s", err)
108108
}
109109

110-
cmd = exec.Command("go", "mod", "init", "github.com/volatiletech/sqlboiler-test")
110+
cmd = exec.Command("go", "mod", "init", "github.com/aarondl/sqlboiler-test")
111111
cmd.Dir = state.Config.OutFolder
112112
cmd.Stderr = buf
113113

@@ -117,7 +117,7 @@ func testNew(t *testing.T, aliases Aliases) {
117117
fmt.Println()
118118
}
119119

120-
cmd = exec.Command("go", "mod", "edit", fmt.Sprintf("-replace=github.com/volatiletech/sqlboiler/v4=%s", filepath.Dir(string(goModFilePath))))
120+
cmd = exec.Command("go", "mod", "edit", fmt.Sprintf("-replace=github.com/aarondl/sqlboiler/v4=%s", filepath.Dir(string(goModFilePath))))
121121
cmd.Dir = state.Config.OutFolder
122122
cmd.Stderr = buf
123123

boilingcore/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"github.com/friendsofgo/errors"
1111
"github.com/spf13/cast"
1212

13-
"github.com/volatiletech/sqlboiler/v4/drivers"
14-
"github.com/volatiletech/sqlboiler/v4/importers"
13+
"github.com/aarondl/sqlboiler/v4/drivers"
14+
"github.com/aarondl/sqlboiler/v4/importers"
1515
)
1616

1717
type TagCase string

0 commit comments

Comments
 (0)