mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-20 12:37:16 +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
|
@ -11,7 +11,7 @@ import (
|
|||
)
|
||||
|
||||
// ToStruct converts any value into a structpb Value.
|
||||
func ToStruct(value interface{}) *structpb.Value {
|
||||
func ToStruct(value any) *structpb.Value {
|
||||
if value == nil {
|
||||
return NewStructNull()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue