Conversation

poteto0

Summary

This PR formats interface{} -> any.
any is an alias for interface{}

var any = interface{}

https://.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

Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

@poteto0