Skip to content

Commit a84e664

Browse files
committed
Fork for installability
1 parent d468d91 commit a84e664

File tree

144 files changed

+328
-317
lines changed

Some content is hidden

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

144 files changed

+328
-317
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# sqlc: A SQL Compiler
22

3-
![go](https://github.com/kyleconroy/sqlc/workflows/go/badge.svg)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/kyleconroy/sqlc)](https://goreportcard.com/report/github.com/kyleconroy/sqlc)
3+
![go](https://github.com/timstudd/sqlc/workflows/go/badge.svg)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/timstudd/sqlc)](https://goreportcard.com/report/github.com/timstudd/sqlc)
55

66
sqlc generates **type-safe code** from SQL. Here's how it works:
77

cmd/sqlc/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/kyleconroy/sqlc/internal/cmd"
6+
"github.com/timstudd/sqlc/internal/cmd"
77
)
88

99
func main() {

docs/overview/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sudo snap install sqlc
1717
## go install
1818

1919
```
20-
go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
20+
go install github.com/timstudd/sqlc/cmd/sqlc@latest
2121
```
2222

2323
## Docker
@@ -36,6 +36,6 @@ docker run --rm -v $(pwd):/src -w /src kjconroy/sqlc generate
3636

3737
Get pre-built binaries for *v1.10.0*:
3838

39-
- [Linux](https://github.com/kyleconroy/sqlc/releases/download/v1.10.0/sqlc_1.10.0_linux_amd64.tar.gz)
40-
- [macOS](https://github.com/kyleconroy/sqlc/releases/download/v1.10.0/sqlc_1.10.0_darwin_amd64.zip)
41-
- [Windows (MySQL only)](https://github.com/kyleconroy/sqlc/releases/download/v1.10.0/sqlc_1.10.0_windows_amd64.zip)
39+
- [Linux](https://github.com/timstudd/sqlc/releases/download/v1.10.0/sqlc_1.10.0_linux_amd64.tar.gz)
40+
- [macOS](https://github.com/timstudd/sqlc/releases/download/v1.10.0/sqlc_1.10.0_darwin_amd64.zip)
41+
- [Windows (MySQL only)](https://github.com/timstudd/sqlc/releases/download/v1.10.0/sqlc_1.10.0_windows_amd64.zip)

docs/reference/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ overrides:
8989
Each override document has the following keys:
9090

9191
- `db_type`:
92-
- The PostgreSQL type to override. Find the full list of supported types in [postgresql_type.go](https://github.com/kyleconroy/sqlc/blob/main/internal/codegen/golang/postgresql_type.go#L12).
92+
- The PostgreSQL type to override. Find the full list of supported types in [postgresql_type.go](https://github.com/timstudd/sqlc/blob/main/internal/codegen/golang/postgresql_type.go#L12).
9393
- `go_type`:
9494
- A fully qualified name to a Go type to use in the generated code.
9595
- `nullable`:

docs/reference/language-support.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Python Experimental Experimental
1212
Future Language Support
1313
************************
1414

15-
- `C# <https://github.com/kyleconroy/sqlc/issues/373>`_
16-
- `TypeScript <https://github.com/kyleconroy/sqlc/issues/296>`_
15+
- `C# <https://github.com/timstudd/sqlc/issues/373>`_
16+
- `TypeScript <https://github.com/timstudd/sqlc/issues/296>`_
1717

1818
Future Database Support
1919
************************
2020

21-
- `SQLite <https://github.com/kyleconroy/sqlc/issues/161>`_
21+
- `SQLite <https://github.com/timstudd/sqlc/issues/161>`_

examples/authors/mysql/db_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package authors
@@ -7,7 +8,7 @@ import (
78
"database/sql"
89
"testing"
910

10-
"github.com/kyleconroy/sqlc/internal/sqltest"
11+
"github.com/timstudd/sqlc/internal/sqltest"
1112
)
1213

1314
func TestAuthors(t *testing.T) {

examples/authors/postgresql/db_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package authors
@@ -7,7 +8,7 @@ import (
78
"database/sql"
89
"testing"
910

10-
"github.com/kyleconroy/sqlc/internal/sqltest"
11+
"github.com/timstudd/sqlc/internal/sqltest"
1112
)
1213

1314
func TestAuthors(t *testing.T) {

examples/booktest/mysql/db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/kyleconroy/sqlc/internal/sqltest"
11+
"github.com/timstudd/sqlc/internal/sqltest"
1212
)
1313

1414
func TestBooks(t *testing.T) {

examples/booktest/postgresql/db_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package booktest
@@ -7,7 +8,7 @@ import (
78
"testing"
89
"time"
910

10-
"github.com/kyleconroy/sqlc/internal/sqltest"
11+
"github.com/timstudd/sqlc/internal/sqltest"
1112
)
1213

1314
func TestBooks(t *testing.T) {

examples/ondeck/mysql/db_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build examples
12
// +build examples
23

34
package ondeck
@@ -8,7 +9,7 @@ import (
89
"strings"
910
"testing"
1011

11-
"github.com/kyleconroy/sqlc/internal/sqltest"
12+
"github.com/timstudd/sqlc/internal/sqltest"
1213

1314
"github.com/google/go-cmp/cmp"
1415
)

0 commit comments

Comments
 (0)