Skip to content

Commit

Permalink
update validator-go version to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awalterschulze committed Jan 14, 2025
1 parent 24ecd9a commit 2f194c9
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion encode/proto/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"testing"

"github.com/gogo/protobuf/proto"
reflectparser "github.com/katydid/validator-go/parser/reflect"
reflectparser "github.com/katydid/parser-go-reflect/reflect"
. "github.com/katydid/validator-gogo-proto/encode/proto/prototests"
)

Expand Down
2 changes: 1 addition & 1 deletion encode/proto/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"math"

"github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
protoparser "github.com/katydid/validator-gogo-proto/parser/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion encode/proto/proto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"time"

"github.com/gogo/protobuf/proto"
reflectparser "github.com/katydid/validator-go/parser/reflect"
reflectparser "github.com/katydid/parser-go-reflect/reflect"
"github.com/katydid/validator-gogo-proto/encode/proto/prototests"
)

Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ require (

require (
github.com/gogo/protobuf v1.3.2
github.com/katydid/validator-go v0.4.0
github.com/katydid/parser-go v0.6.0
github.com/katydid/parser-go-reflect v0.1.0
github.com/katydid/validator-go v0.5.0
)

require (
Expand Down
12 changes: 10 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ github.com/goccmack/gocc v0.0.0-20230228185258-2292f9e40198 h1:FSii2UQeSLngl3jFo
github.com/goccmack/gocc v0.0.0-20230228185258-2292f9e40198/go.mod h1:DTh/Y2+NbnOVVoypCCQrovMPDKUGp4yZpSbWg5D0XIM=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/katydid/validator-go v0.4.0 h1:7rEZy9bYzmT0FG5RaCV2Eextn+C3+Bnh6mAvof82yFg=
github.com/katydid/validator-go v0.4.0/go.mod h1:4kIOmsQyfSJMtELzYrfMPlyIar1HpHgYBUefJNIHl+Y=
github.com/katydid/parser-go v0.6.0 h1:8VFYXEp9pZsq4CCxYLDavPPqOSX+JXsmhjfU4XMB8iw=
github.com/katydid/parser-go v0.6.0/go.mod h1:1BwRfDlyRgDlAaURZ4FXi7IzHqWKTsrCdsstLsFeQho=
github.com/katydid/parser-go-json v0.1.0 h1:r3+YkDtf9A4JYO+MrdQsN2azxITrgO+2Sc5SSNhp+YI=
github.com/katydid/parser-go-json v0.1.0/go.mod h1:iLjxtkGLdPROUPBHZAhOTIdQerUPl/FEplS10rlq9Nc=
github.com/katydid/parser-go-reflect v0.1.0 h1:GsmmOjPC9eLVVHx/Q8nzOPAiOhSan6UP8z9oDOEbYiY=
github.com/katydid/parser-go-reflect v0.1.0/go.mod h1:v+FO4WoxNNIhpjzF7nam4YuUzWCe8LFclO4B0f3OaPI=
github.com/katydid/parser-go-xml v0.1.0 h1:8AL0X9hQbNLbQeqRbOdKBOwx4WTSWjy7kxEMmWqHMXc=
github.com/katydid/parser-go-xml v0.1.0/go.mod h1:7rEHS3YuEv/8/ep+uQnLgcvT1znZs8JEc3ZaBbpygjA=
github.com/katydid/validator-go v0.5.0 h1:wOo8hgzeu6/0iv+RVZBGx52cfdvjI2CynXAN6lew5yA=
github.com/katydid/validator-go v0.5.0/go.mod h1:ZVsNg5NEwcOJT2ukTrCu/jKKuNiTRS/4sw4cMNr9vh8=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
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/proto/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"unsafe"

descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
)

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

"github.com/gogo/protobuf/proto"
"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
"github.com/katydid/validator-gogo-proto/parser/debug"
"github.com/katydid/validator-gogo-proto/parser/proto/prototests"
)
Expand Down
2 changes: 1 addition & 1 deletion testsuite/auto/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strings"
"testing"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
"github.com/katydid/validator-go/validator/ast"
"github.com/katydid/validator-go/validator/auto"
"github.com/katydid/validator-go/validator/interp"
Expand Down
5 changes: 2 additions & 3 deletions testsuite/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import (

"github.com/gogo/protobuf/proto"
"github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
"github.com/katydid/validator-go/gen"
"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
"github.com/katydid/validator-go/validator"
"github.com/katydid/validator-go/validator/ast"
protoparser "github.com/katydid/validator-gogo-proto/parser/proto"
Expand Down Expand Up @@ -180,7 +179,7 @@ func readTestFolder(path string) (*Test, error) {
if p == nil {
return nil, fmt.Errorf("couldn't find valid.* or invalid.* filename inside <%s>", path)
}
name = name + gen.CapFirst(codecName)
name = name + capFirst(codecName)
return &Test{
Name: name,
Grammar: g,
Expand Down
2 changes: 1 addition & 1 deletion testsuite/intern/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package intern_test
import (
"testing"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
"github.com/katydid/validator-go/validator/ast"
"github.com/katydid/validator-go/validator/intern"
"github.com/katydid/validator-go/validator/interp"
Expand Down
2 changes: 1 addition & 1 deletion testsuite/interp/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strings"
"testing"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
"github.com/katydid/validator-go/validator/ast"
"github.com/katydid/validator-go/validator/interp"
"github.com/katydid/validator-gogo-proto/testsuite"
Expand Down
2 changes: 1 addition & 1 deletion testsuite/mem/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package mem_test
import (
"testing"

"github.com/katydid/validator-go/parser"
"github.com/katydid/parser-go/parser"
"github.com/katydid/validator-go/validator/ast"
"github.com/katydid/validator-go/validator/interp"
"github.com/katydid/validator-go/validator/mem"
Expand Down

0 comments on commit 2f194c9

Please sign in to comment.