We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 148e2c0 commit 847d1d7Copy full SHA for 847d1d7
internal/types/map.go
@@ -61,7 +61,7 @@ func ExpandMapStringString(data any) map[string]string {
61
62
// GetMapValue returns the value for a key from a map.
63
// returns zero value if key does not exist in map.
64
-func GetMapValue[T any](m map[string]any, key string) T {
+func GetMapValue[T any](m map[string]any, key string) T { //nolint: ireturn
65
var val T
66
valI, exists := m[key]
67
if exists {
0 commit comments