Skip to content

Commit

Permalink
update package name from validator-go to parser-go
Browse files Browse the repository at this point in the history
  • Loading branch information
awalterschulze committed Jan 13, 2025
1 parent 2337b66 commit 3917db6
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
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/katydid/validator-go
module github.com/katydid/parser-go

go 1.23

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

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

// Logger is an interface for a type that is made to log debug info.
Expand Down
2 changes: 1 addition & 1 deletion parser/debug/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package debug

import (
"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

type errValue struct{}
Expand Down
2 changes: 1 addition & 1 deletion parser/debug/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strings"
"time"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

func getValue(p parser.Interface) interface{} {
Expand Down
2 changes: 1 addition & 1 deletion parser/json/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"io"
"strconv"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

// ErrUnquote returns an error that resulted from trying to unquote a string.
Expand Down
4 changes: 2 additions & 2 deletions parser/json/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"encoding/json"
"testing"

"github.com/katydid/validator-go/parser/debug"
sjson "github.com/katydid/validator-go/parser/json"
"github.com/katydid/parser-go/parser/debug"
sjson "github.com/katydid/parser-go/parser/json"
)

func TestDebug(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion parser/reflect/reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"io"
"reflect"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

type state struct {
Expand Down
2 changes: 1 addition & 1 deletion parser/reflect/reflect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"reflect"
"testing"

"github.com/katydid/validator-go/parser/debug"
"github.com/katydid/parser-go/parser/debug"
)

func TestDebug(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion parser/xml/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"strconv"
"strings"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

type xmlParser struct {
Expand Down
2 changes: 1 addition & 1 deletion parser/xml/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"encoding/json"
"testing"

"github.com/katydid/validator-go/parser/debug"
"github.com/katydid/parser-go/parser/debug"
)

func testXML(t *testing.T, s string) {
Expand Down
2 changes: 1 addition & 1 deletion parser/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strconv"
"strings"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

// YamlParser is a parser for YAML
Expand Down
2 changes: 1 addition & 1 deletion parser/yaml/yaml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package yaml
import (
"testing"

"github.com/katydid/validator-go/parser/debug"
"github.com/katydid/parser-go/parser/debug"
)

func testYaml(t *testing.T, s string, output debug.Nodes) {
Expand Down

0 comments on commit 3917db6

Please sign in to comment.