Skip to content

Commit

Permalink
fix: rename module
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Silva authored and luisfvieirasilva committed Mar 16, 2023
1 parent 398fa81 commit fb11169
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
_ "github.com/mattn/go-sqlite3"
"github.com/spf13/cobra"

"github.com/chiselstrike/libsql-shell/pkg/libsql"
"github.com/chiselstrike/libsql-shell/shell"
"github.com/libsql/libsql-shell-go/pkg/libsql"
"github.com/libsql/libsql-shell-go/shell"
)

type RootArgs struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/chiselstrike/libsql-shell
module github.com/libsql/libsql-shell-go

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/chiselstrike/libsql-shell/cmd"
"github.com/libsql/libsql-shell-go/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/libsql/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package libsql_test
import (
"testing"

"github.com/chiselstrike/libsql-shell/test/utils"
qt "github.com/frankban/quicktest"
"github.com/libsql/libsql-shell-go/test/utils"
)

func TestGetTableOutput_GivenHeaderWithoutData_ExpectTableHasJustHeader(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion shell/databaseRootCommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
_ "github.com/mattn/go-sqlite3"
"github.com/spf13/cobra"

"github.com/chiselstrike/libsql-shell/pkg/libsql"
"github.com/libsql/libsql-shell-go/pkg/libsql"
)

type dbCtx struct{}
Expand Down
2 changes: 1 addition & 1 deletion shell/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"path/filepath"

"github.com/chiselstrike/libsql-shell/pkg/libsql"
"github.com/libsql/libsql-shell-go/pkg/libsql"
)

type HistoryMode int64
Expand Down
2 changes: 1 addition & 1 deletion shell/history_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"
"testing"

"github.com/chiselstrike/libsql-shell/shell"
qt "github.com/frankban/quicktest"
"github.com/libsql/libsql-shell-go/shell"
)

const historyName = "libsql"
Expand Down
2 changes: 1 addition & 1 deletion shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"regexp"
"strings"

"github.com/chiselstrike/libsql-shell/pkg/libsql"
"github.com/chzyer/readline"
"github.com/fatih/color"
"github.com/libsql/libsql-shell-go/pkg/libsql"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion test/db_root_command_shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
qt "github.com/frankban/quicktest"
"github.com/stretchr/testify/suite"

"github.com/chiselstrike/libsql-shell/test/utils"
"github.com/libsql/libsql-shell-go/test/utils"
)

type DBRootCommandShellSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion test/root_command_exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
qt "github.com/frankban/quicktest"
"github.com/stretchr/testify/suite"

"github.com/chiselstrike/libsql-shell/test/utils"
"github.com/libsql/libsql-shell-go/test/utils"
)

type RootCommandExecSuite struct {
Expand Down
4 changes: 2 additions & 2 deletions test/root_command_flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

qt "github.com/frankban/quicktest"

"github.com/chiselstrike/libsql-shell/cmd"
"github.com/chiselstrike/libsql-shell/test/utils"
"github.com/libsql/libsql-shell-go/cmd"
"github.com/libsql/libsql-shell-go/test/utils"
)

func TestRootCommandFlags_WhenAllFlagsAreProvided_ExpectSQLStatementsExecutedWithoutError(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion test/root_command_shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
qt "github.com/frankban/quicktest"
"github.com/stretchr/testify/suite"

"github.com/chiselstrike/libsql-shell/test/utils"
"github.com/libsql/libsql-shell-go/test/utils"
)

type RootCommandShellSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/db_test_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

qt "github.com/frankban/quicktest"

"github.com/chiselstrike/libsql-shell/cmd"
"github.com/libsql/libsql-shell-go/cmd"
)

type DbTestContext struct {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/chiselstrike/libsql-shell/pkg/libsql"
"github.com/libsql/libsql-shell-go/pkg/libsql"
"github.com/spf13/cobra"
)

Expand Down

0 comments on commit fb11169

Please sign in to comment.