File tree Expand file tree Collapse file tree 20 files changed +30
-30
lines changed
Expand file tree Collapse file tree 20 files changed +30
-30
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
33import (
44 "os"
55
6- "github.com/kyleconroy/dinosql /internal/cmd"
6+ "github.com/kyleconroy/sqlc /internal/cmd"
77)
88
99func main () {
Original file line number Diff line number Diff line change 1- module github.com/kyleconroy/dinosql
1+ module github.com/kyleconroy/sqlc
22
33go 1.12
44
Original file line number Diff line number Diff line change 44 "fmt"
55 "strings"
66
7- "github.com/kyleconroy/dinosql /internal/pg"
7+ "github.com/kyleconroy/sqlc /internal/pg"
88
99 "github.com/davecgh/go-spew/spew"
1010 nodes "github.com/lfittl/pg_query_go/nodes"
Original file line number Diff line number Diff line change 44 "strconv"
55 "testing"
66
7- "github.com/kyleconroy/dinosql /internal/pg"
7+ "github.com/kyleconroy/sqlc /internal/pg"
88
99 "github.com/google/go-cmp/cmp"
1010 "github.com/google/go-cmp/cmp/cmpopts"
@@ -432,8 +432,8 @@ func TestUpdate(t *testing.T) {
432432 Name : "foo" ,
433433 Arguments : []pg.Argument {
434434 {
435- Name : "bar" ,
436- DataType : "text" ,
435+ Name : "bar" ,
436+ DataType : "text" ,
437437 },
438438 {
439439 Name : "baz" ,
Original file line number Diff line number Diff line change 99 "os/exec"
1010 "path/filepath"
1111
12- "github.com/kyleconroy/dinosql /internal/dinosql"
12+ "github.com/kyleconroy/sqlc /internal/dinosql"
1313
1414 "github.com/davecgh/go-spew/spew"
1515 pg "github.com/lfittl/pg_query_go"
Original file line number Diff line number Diff line change 44 "fmt"
55 "strings"
66
7- "github.com/kyleconroy/dinosql /internal/catalog"
8- "github.com/kyleconroy/dinosql /internal/pg"
7+ "github.com/kyleconroy/sqlc /internal/catalog"
8+ "github.com/kyleconroy/sqlc /internal/pg"
99 nodes "github.com/lfittl/pg_query_go/nodes"
1010)
1111
Original file line number Diff line number Diff line change 44 "path/filepath"
55 "testing"
66
7- "github.com/kyleconroy/dinosql /internal/pg"
7+ "github.com/kyleconroy/sqlc /internal/pg"
88
99 "github.com/google/go-cmp/cmp"
1010)
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 "text/template"
1212 "unicode"
1313
14- core "github.com/kyleconroy/dinosql /internal/pg"
14+ core "github.com/kyleconroy/sqlc /internal/pg"
1515
1616 "github.com/jinzhu/inflection"
1717)
@@ -641,7 +641,7 @@ func (r Result) GoQueries() []GoQuery {
641641 return qs
642642}
643643
644- var dbTmpl = `// Code generated by dinosql . DO NOT EDIT.
644+ var dbTmpl = `// Code generated by sqlc . DO NOT EDIT.
645645
646646package {{.Package}}
647647
@@ -731,7 +731,7 @@ func (q *Queries) WithTx(tx *sql.Tx) *Queries {
731731 }
732732}
733733`
734- var modelsTmpl = `// Code generated by dinosql . DO NOT EDIT.
734+ var modelsTmpl = `// Code generated by sqlc . DO NOT EDIT.
735735
736736package {{.Package}}
737737
@@ -760,7 +760,7 @@ type {{.Name}} struct { {{- range .Fields}}
760760{{end}}
761761`
762762
763- var sqlTmpl = `// Code generated by dinosql . DO NOT EDIT.
763+ var sqlTmpl = `// Code generated by sqlc . DO NOT EDIT.
764764// source: {{.SourceName}}
765765
766766package {{.Package}}
Original file line number Diff line number Diff line change 44 "testing"
55
66 "github.com/google/go-cmp/cmp"
7- "github.com/kyleconroy/dinosql /internal/pg"
7+ "github.com/kyleconroy/sqlc /internal/pg"
88)
99
1010func TestColumnsToStruct (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import (
99 "strconv"
1010 "strings"
1111
12- "github.com/davecgh/go-spew/spew"
13- "github.com/kyleconroy/dinosql/internal/catalog"
14- core "github.com/kyleconroy/dinosql/internal/pg"
15- "github.com/kyleconroy/dinosql/internal/postgres"
12+ "github.com/kyleconroy/sqlc/internal/catalog"
13+ core "github.com/kyleconroy/sqlc/internal/pg"
14+ "github.com/kyleconroy/sqlc/internal/postgres"
1615
16+ "github.com/davecgh/go-spew/spew"
1717 pg "github.com/lfittl/pg_query_go"
1818 nodes "github.com/lfittl/pg_query_go/nodes"
1919)
You can’t perform that action at this time.
0 commit comments