Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ blocks:
- createdb -U postgres -h 0.0.0.0 dinotest
- checkout
- sem-version go 1.12
- cd testdata/ondeck
- cd internal/dinosql/testdata/ondeck
- go test -v ./...
2 changes: 1 addition & 1 deletion cmd/dinosql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"
"log"

"github.com/kyleconroy/dinosql"
"github.com/kyleconroy/dinosql/internal/dinosql"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion checks.go → internal/dinosql/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/kyleconroy/dinosql/postgres"
"github.com/kyleconroy/dinosql/internal/postgres"
nodes "github.com/lfittl/pg_query_go/nodes"
)

Expand Down
3 changes: 2 additions & 1 deletion checks_test.go → internal/dinosql/checks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"path/filepath"
"testing"

"github.com/kyleconroy/dinosql/internal/postgres"

"github.com/google/go-cmp/cmp"
"github.com/kyleconroy/dinosql/postgres"
)

func TestFuncs(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion parser.go → internal/dinosql/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ import (
"text/template"
"unicode"

"github.com/kyleconroy/dinosql/internal/postgres"

"github.com/davecgh/go-spew/spew"
"github.com/jinzhu/inflection"
"github.com/kyleconroy/dinosql/postgres"
pg "github.com/lfittl/pg_query_go"
nodes "github.com/lfittl/pg_query_go/nodes"
)
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion query_test.go → internal/dinosql/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"fmt"
"testing"

"github.com/kyleconroy/dinosql/internal/postgres"

"github.com/google/go-cmp/cmp"
"github.com/kyleconroy/dinosql/postgres"
)

const testAliasSQL = `
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.