Skip to content

Commit 3efff7e

Browse files
committed
rename repo; add sql.go
1 parent 58d864c commit 3efff7e

File tree

12 files changed

+2465
-14
lines changed

12 files changed

+2465
-14
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
y.output
2-
sql.go
3-

analyzer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package sqlparser
1111
import (
1212
"errors"
1313
"fmt"
14-
"github.com/xwb1989/sql_parser/dependency/sqltypes"
14+
"github.com/xwb1989/sqlparser/dependency/sqltypes"
1515
)
1616

1717
// GetTableName returns the table name from the SimpleTableExpr

ast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"fmt"
1010
"strconv"
1111

12-
"github.com/xwb1989/sql_parser/dependency/sqltypes"
12+
"github.com/xwb1989/sqlparser/dependency/sqltypes"
1313
)
1414

1515
// Instructions for creating new types: If a type

dependency/bson/marshal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strconv"
1212
"time"
1313

14-
"github.com/xwb1989/sql_parser/dependency/bytes2"
14+
"github.com/xwb1989/sqlparser/dependency/bytes2"
1515
)
1616

1717
// LenWriter records the current write position on the buffer

dependency/bson/marshal_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package bson
99
import (
1010
"time"
1111

12-
"github.com/xwb1989/sql_parser/dependency/bytes2"
12+
"github.com/xwb1989/sqlparser/dependency/bytes2"
1313
)
1414

1515
// EncodeInterface bson encodes an interface{}. Elements

dependency/bson/unmarshal_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"math"
1212
"time"
1313

14-
"github.com/xwb1989/sql_parser/dependency/hack"
14+
"github.com/xwb1989/sqlparser/dependency/hack"
1515
)
1616

1717
// VerifyObject verifies kind to make sure it's

dependency/bytes2/chunked_writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"io"
1212
"unicode/utf8"
1313

14-
"github.com/xwb1989/sql_parser/dependency/hack"
14+
"github.com/xwb1989/sqlparser/dependency/hack"
1515
)
1616

1717
// ChunkedWriter has the same interface as bytes.Buffer's write functions.

dependency/sqltypes/sqltypes.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414
"strconv"
1515
"time"
1616

17-
"github.com/xwb1989/sql_parser/dependency/bson"
18-
"github.com/xwb1989/sql_parser/dependency/bytes2"
19-
"github.com/xwb1989/sql_parser/dependency/hack"
17+
"github.com/xwb1989/sqlparser/dependency/bson"
18+
"github.com/xwb1989/sqlparser/dependency/bytes2"
19+
"github.com/xwb1989/sqlparser/dependency/hack"
2020
)
2121

2222
var (

parsed_query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"errors"
1111
"fmt"
1212

13-
"github.com/xwb1989/sql_parser/dependency/sqltypes"
13+
"github.com/xwb1989/sqlparser/dependency/sqltypes"
1414
)
1515

1616
type bindLocation struct {

parsed_query_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package sqlparser
77
import (
88
"testing"
99

10-
"github.com/xwb1989/sql_parser/dependency/sqltypes"
10+
"github.com/xwb1989/sqlparser/dependency/sqltypes"
1111
)
1212

1313
func TestParsedQuery(t *testing.T) {

0 commit comments

Comments
 (0)