Skip to content

Commit

Permalink
Merge pull request #3 from Recidiviz/colincadams/more-rename
Browse files Browse the repository at this point in the history
Rename package imports within code as well
  • Loading branch information
colincadams authored Apr 20, 2023
2 parents 8ae9c33 + 9345e89 commit 9c8da28
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion _examples/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"database/sql"
"fmt"

_ "github.com/goccy/go-zetasqlite"
_ "github.com/Recidiviz/go-zetasqlite"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions _examples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module example

go 1.18

require github.com/goccy/go-zetasqlite v0.6.6
require github.com/Recidiviz/go-zetasqlite v0.6.6

require (
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
Expand All @@ -13,4 +13,4 @@ require (
gonum.org/v1/gonum v0.11.0 // indirect
)

replace github.com/goccy/go-zetasqlite => ../
replace github.com/Recidiviz/go-zetasqlite => ../
6 changes: 3 additions & 3 deletions cmd/zetasqlite-cli/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/goccy/go-zetasqlite/cmd/zetasqlite-cli
module github.com/Recidiviz/go-zetasqlite/cmd/zetasqlite-cli

go 1.18

require (
github.com/chzyer/readline v1.5.1
github.com/goccy/go-zetasqlite v0.4.0
github.com/Recidiviz/go-zetasqlite v0.4.0
github.com/jessevdk/go-flags v1.5.0
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
)
Expand Down Expand Up @@ -44,4 +44,4 @@ require (
google.golang.org/protobuf v1.28.1 // indirect
)

replace github.com/goccy/go-zetasqlite => ../../
replace github.com/Recidiviz/go-zetasqlite => ../../
4 changes: 2 additions & 2 deletions cmd/zetasqlite-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"reflect"
"strings"

"github.com/Recidiviz/go-zetasqlite"
"github.com/Recidiviz/go-zetasqlite/internal"
"github.com/chzyer/readline"
"github.com/goccy/go-zetasqlite"
"github.com/goccy/go-zetasqlite/internal"
"github.com/jessevdk/go-flags"
"golang.org/x/crypto/ssh/terminal"
)
Expand Down
2 changes: 1 addition & 1 deletion column.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package zetasqlite
import (
"github.com/goccy/go-json"

internal "github.com/goccy/go-zetasqlite/internal"
internal "github.com/Recidiviz/go-zetasqlite/internal"
)

type ColumnType = internal.Type
Expand Down
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/goccy/go-zetasqlite/internal"
"github.com/Recidiviz/go-zetasqlite/internal"
)

// WithCurrentTime use to replace the current time with the specified time.
Expand Down
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"sync"

internal "github.com/goccy/go-zetasqlite/internal"
internal "github.com/Recidiviz/go-zetasqlite/internal"
"github.com/mattn/go-sqlite3"
)

Expand Down
4 changes: 2 additions & 2 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"database/sql"
"testing"

"github.com/goccy/go-zetasqlite"
_ "github.com/goccy/go-zetasqlite"
"github.com/Recidiviz/go-zetasqlite"
_ "github.com/Recidiviz/go-zetasqlite"
)

func TestDriver(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/goccy/go-zetasqlite"
"github.com/Recidiviz/go-zetasqlite"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/goccy/go-zetasqlite"
"github.com/Recidiviz/go-zetasqlite"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion timestamp.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strconv"
"time"

"github.com/goccy/go-zetasqlite/internal"
"github.com/Recidiviz/go-zetasqlite/internal"
)

// TimeFromTimestampValue zetasqlite returns string values ​​by default for timestamp values.
Expand Down

0 comments on commit 9c8da28

Please sign in to comment.