TrueBlocks / trueblocks-core

The main repository for the TrueBlocks system
https://trueblocks.io
GNU General Public License v3.0
1.05k stars 194 forks source link

Prefer use of any over interface{} throughout the code base #3698

Closed tjayrush closed 1 month ago

tjayrush commented 1 month ago

We did a lot of this as part of version 3.0.0, but there are a few remaining ocurences of interface{} over any.

any is an "alias" of the old-fashioned interface{}. interface{} can be replaced wherever it occurs. any is more clear as to its purpose, which is the same as interface{}.

We should use any wherever we can.

tjayrush commented 1 month ago

Done