mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-23 11:39:32 +02:00
core/lint: upgrade golangci-lint, replace interface{} with any (#5099)
* core/lint: upgrade golangci-lint, replace interface{} with any * regen proto
This commit is contained in:
parent
614048ae9c
commit
1a5b8b606f
135 changed files with 341 additions and 340 deletions
|
@ -75,7 +75,7 @@ func TestTransform(t *testing.T) {
|
|||
},
|
||||
},
|
||||
}
|
||||
transformed, err := Transform(original, func(fd protoreflect.FieldDescriptor, v protoreflect.Value) (protoreflect.Value, error) {
|
||||
transformed, err := Transform(original, func(_ protoreflect.FieldDescriptor, v protoreflect.Value) (protoreflect.Value, error) {
|
||||
switch vv := v.Interface().(type) {
|
||||
case []byte:
|
||||
return protoreflect.ValueOfBytes(append([]byte("TRANSFORM_"), vv...)), nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue