mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-25 23:17:18 +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
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
// DecodeBase64OrJSON decodes a JSON string that can optionally be base64 encoded.
|
||||
func DecodeBase64OrJSON(in string, out interface{}) error {
|
||||
func DecodeBase64OrJSON(in string, out any) error {
|
||||
in = strings.TrimSpace(in)
|
||||
|
||||
// the data can be base64 encoded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue