Skip to content

Commit

Permalink
change repository name: h24w-17 -> isuc
Browse files Browse the repository at this point in the history
  • Loading branch information
pirosiki197 committed Jan 26, 2025
1 parent e688be8 commit 4025857
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ go run cli/main.go extract --out extracted.sql /path/to/your/codebase/dir

```go
import (
dynamic_extractor "github.com/traP-jp/h24w-17/extractor/dynamic"
dynamic_extractor "github.com/traP-jp/isuc/extractor/dynamic"
)
```

Expand Down
6 changes: 3 additions & 3 deletions analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package analyzer
import (
"fmt"

"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/h24w-17/normalizer"
"github.com/traP-jp/h24w-17/sql_parser"
"github.com/traP-jp/isuc/domains"
"github.com/traP-jp/isuc/normalizer"
"github.com/traP-jp/isuc/sql_parser"
)

func AnalyzeQueries(queries []string, schemas []domains.TableSchema) (domains.CachePlan, error) {
Expand Down
2 changes: 1 addition & 1 deletion analyzer/analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/isuc/domains"
)

func TestAnalyzeQueries(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions analyzer/query_analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package analyzer
import (
"fmt"

"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/h24w-17/sql_parser"
"github.com/traP-jp/isuc/domains"
"github.com/traP-jp/isuc/sql_parser"
)

func newQueryAnalyzer(schemas []domains.TableSchema) *queryAnalyzer {
Expand Down
4 changes: 2 additions & 2 deletions cli/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strings"

"github.com/spf13/cobra"
"github.com/traP-jp/h24w-17/analyzer"
"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/isuc/analyzer"
"github.com/traP-jp/isuc/domains"
)

var analyzeCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cli/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"path/filepath"

"github.com/spf13/cobra"
static_extractor "github.com/traP-jp/h24w-17/extractor/static"
static_extractor "github.com/traP-jp/isuc/extractor/static"
)

var extractCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cli/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/spf13/cobra"
h24w17 "github.com/traP-jp/h24w-17"
h24w17 "github.com/traP-jp/isuc"
)

var generateCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion extractor/dynamic/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/go-sql-driver/mysql"
"github.com/traP-jp/h24w-17/normalizer"
"github.com/traP-jp/isuc/normalizer"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion extractor/dynamic/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/traP-jp/h24w-17/testutil"
"github.com/traP-jp/isuc/testutil"
)

func TestMain(m *testing.M) {
Expand Down
2 changes: 1 addition & 1 deletion extractor/static/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"regexp"
"strings"

"github.com/traP-jp/h24w-17/normalizer"
"github.com/traP-jp/isuc/normalizer"
)

var sqlPattern = regexp.MustCompile(`^(SELECT|INSERT|UPDATE|DELETE)\b`)
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/traP-jp/h24w-17
module github.com/traP-jp/isuc

go 1.23.2

Expand Down
2 changes: 1 addition & 1 deletion normalizer/args_normalizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package normalizer
import (
"fmt"

"github.com/traP-jp/h24w-17/sql_parser"
"github.com/traP-jp/isuc/sql_parser"
)

type ExtraArg struct {
Expand Down
2 changes: 1 addition & 1 deletion template/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/traP-jp/h24w-17/testutil"
"github.com/traP-jp/isuc/testutil"
)

func TestMain(m *testing.M) {
Expand Down
4 changes: 2 additions & 2 deletions template/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

"github.com/go-sql-driver/mysql"
"github.com/motoki317/sc"
"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/h24w-17/normalizer"
"github.com/traP-jp/isuc/domains"
"github.com/traP-jp/isuc/normalizer"
)

var queryMap = make(map[string]domains.CachePlanQuery)
Expand Down
4 changes: 2 additions & 2 deletions template/driver.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

"github.com/go-sql-driver/mysql"
"github.com/motoki317/sc"
"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/h24w-17/normalizer"
"github.com/traP-jp/isuc/domains"
"github.com/traP-jp/isuc/normalizer"
)

var queryMap = make(map[string]domains.CachePlanQuery)
Expand Down
4 changes: 2 additions & 2 deletions template/stmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"

"github.com/motoki317/sc"
"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/h24w-17/normalizer"
"github.com/traP-jp/isuc/domains"
"github.com/traP-jp/isuc/normalizer"
)

type (
Expand Down
4 changes: 2 additions & 2 deletions template/stmt.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"

"github.com/motoki317/sc"
"github.com/traP-jp/h24w-17/domains"
"github.com/traP-jp/h24w-17/normalizer"
"github.com/traP-jp/isuc/domains"
"github.com/traP-jp/isuc/normalizer"
)

type (
Expand Down

0 comments on commit 4025857

Please sign in to comment.