Go 1.18 brought us great new features, such as generics, fuzzing and workplaces. It also has a new alias for interface{} to a more understandable any.
Such as that
map[string]interface{}{
"status_code": 200
}
becomes
map[string]any{
"status_code": 200
}
How to convert interface{} to any automaticaly
As slicedbrandy from hacker news pointed out:
gofmt -r 'interface{} -> any' -w **/*.go