Skip to content

Commit 5ee13b2

Browse files
rebeliceclaude
andcommitted
refactor: rename module to github.com/pgplex/pgparser
Update go.mod, all import paths, README links and Star History URLs from bytebase/pgparser to pgplex/pgparser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 441253b commit 5ee13b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+109
-109
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
## Installation
1515

1616
```bash
17-
go get github.com/bytebase/pgparser
17+
go get github.com/pgplex/pgparser
1818
```
1919

2020
## Quick Start
@@ -27,7 +27,7 @@ import (
2727
"fmt"
2828
"log"
2929

30-
"github.com/bytebase/pgparser/parser"
30+
"github.com/pgplex/pgparser/parser"
3131
)
3232

3333
func main() {
@@ -75,7 +75,7 @@ go test ./parser/pgregress -run TestPGRegressStats -v
7575

7676
## Star History
7777

78-
[![Star History Chart](https://api.star-history.com/svg?repos=bytebase/pgparser&type=date&legend=top-left)](https://www.star-history.com/#bytebase/pgparser&type=date&legend=top-left)
78+
[![Star History Chart](https://api.star-history.com/svg?repos=pgplex/pgparser&type=date&legend=top-left)](https://www.star-history.com/#pgplex/pgparser&type=date&legend=top-left)
7979

8080
## License
8181

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/bytebase/pgparser
1+
module github.com/pgplex/pgparser
22

33
go 1.21

parser/gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package parser
99

1010
import (
1111
"fmt"
12-
"github.com/bytebase/pgparser/nodes"
12+
"github.com/pgplex/pgparser/nodes"
1313
)
1414

1515
%}

parser/parse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package parser
66
import (
77
"fmt"
88

9-
"github.com/bytebase/pgparser/nodes"
9+
"github.com/pgplex/pgparser/nodes"
1010
)
1111

1212
// ParseResult contains the result of parsing.

parser/parser.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parser/parser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package parser
33
import (
44
"testing"
55

6-
"github.com/bytebase/pgparser/nodes"
6+
"github.com/pgplex/pgparser/nodes"
77
)
88

99
func TestLexerTokenMapping(t *testing.T) {

parser/parsertest/alter_generic_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package parsertest
33
import (
44
"testing"
55

6-
"github.com/bytebase/pgparser/nodes"
7-
"github.com/bytebase/pgparser/parser"
6+
"github.com/pgplex/pgparser/nodes"
7+
"github.com/pgplex/pgparser/parser"
88
)
99

1010
// =============================================================================

parser/parsertest/alterfunc_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"strings"
55
"testing"
66

7-
"github.com/bytebase/pgparser/nodes"
8-
"github.com/bytebase/pgparser/parser"
7+
"github.com/pgplex/pgparser/nodes"
8+
"github.com/pgplex/pgparser/parser"
99
)
1010

1111
// =============================================================================

parser/parsertest/altertable_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package parsertest
33
import (
44
"testing"
55

6-
"github.com/bytebase/pgparser/nodes"
7-
"github.com/bytebase/pgparser/parser"
6+
"github.com/pgplex/pgparser/nodes"
7+
"github.com/pgplex/pgparser/parser"
88
)
99

1010
// TestAlterTableAddColumn tests: ALTER TABLE t ADD COLUMN name text

parser/parsertest/array_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package parsertest
33
import (
44
"testing"
55

6-
"github.com/bytebase/pgparser/nodes"
7-
"github.com/bytebase/pgparser/parser"
6+
"github.com/pgplex/pgparser/nodes"
7+
"github.com/pgplex/pgparser/parser"
88
)
99

1010
func TestParseArrayConstructor(t *testing.T) {

0 commit comments

Comments
 (0)