echo icon indicating copy to clipboard operation
echo copied to clipboard

format interface{} -> any

Open poteto0 opened this issue 1 year ago • 0 comments

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 has nothing to do with performance.

Why the change was made

  • IMO: any is easier than an empty interface literal.

How it was tested

go test ./... -cover

poteto0 avatar Oct 30 '24 13:10 poteto0