File tree Expand file tree Collapse file tree 7 files changed +6
-7
lines changed
Expand file tree Collapse file tree 7 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ issues:
6767 - varnamelen
6868 - unparam
6969 - gosec
70- - path : internal/ celext/lib.go
70+ - path : celext/lib.go
7171 linters :
7272 # setting up custom functions/overloads appears duplicative (false positive)
7373 - dupl
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ import (
3333// DefaultEnv produces a cel.Env with the necessary cel.EnvOption and
3434// cel.ProgramOption values preconfigured for usage throughout the
3535// module. If useUTC is true, timestamp operations use the UTC timezone instead
36- // of the local timezone. If locale is non-empty, the provided locale string is
37- // used for string formatting, defaulting to 'en_US' if unset.
36+ // of the local timezone.
3837func DefaultEnv (useUTC bool ) (* cel.Env , error ) {
3938 return cel .NewEnv (
4039 cel .Lib (lib {
File renamed without changes.
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
1818 "testing"
1919
2020 "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
21- "github.com/bufbuild/protovalidate-go/internal/ celext"
21+ "github.com/bufbuild/protovalidate-go/celext"
2222 "github.com/bufbuild/protovalidate-go/internal/gen/buf/validate/conformance/cases"
2323 "github.com/google/cel-go/cel"
2424 "github.com/stretchr/testify/assert"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
1818 "sync"
1919 "testing"
2020
21- "github.com/bufbuild/protovalidate-go/internal/ celext"
21+ "github.com/bufbuild/protovalidate-go/celext"
2222 pb "github.com/bufbuild/protovalidate-go/internal/gen/tests/example/v1"
2323 "github.com/stretchr/testify/assert"
2424 "github.com/stretchr/testify/require"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
1818 "testing"
1919
2020 "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
21- "github.com/bufbuild/protovalidate-go/internal/ celext"
21+ "github.com/bufbuild/protovalidate-go/celext"
2222 "github.com/google/cel-go/cel"
2323 "github.com/stretchr/testify/assert"
2424 "github.com/stretchr/testify/require"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
1818 "fmt"
1919
2020 "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
21- "github.com/bufbuild/protovalidate-go/internal/ celext"
21+ "github.com/bufbuild/protovalidate-go/celext"
2222 "github.com/bufbuild/protovalidate-go/internal/errors"
2323 "github.com/bufbuild/protovalidate-go/internal/evaluator"
2424 "google.golang.org/protobuf/proto"
You can’t perform that action at this time.
0 commit comments