echo
echo copied to clipboard
format interface{} -> any
Summary
This PR formats interface{} -> any.
any is an alias for interface{}
var any = interface{}
https://github.com/golang/go/blob/67f131485541f362c8e932cd254982a8ad2cfc09/src/builtin/builtin.go#L97
What was changed
-
interface{}->any- it required
go >= 1.18
- it required
- It has nothing to do with performance.
Why the change was made
- IMO:
anyis easier than an empty interface literal.
How it was tested
go test ./... -cover