mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
*: replace interface{}
with any
keyword
Everywhere including examples, external interop APIs, bindings generators code and in other valuable places. A couple of `interface{}` usages are intentionally left in the CHANGELOG.md, documentation and tests.
This commit is contained in:
parent
83545b8451
commit
6b21ad9922
199 changed files with 1256 additions and 1231 deletions
|
@ -23,7 +23,7 @@ func FilteredRequest(url string, filter []byte) {
|
|||
// OracleCallback is called by Oracle native contract when request is finished.
|
||||
// It either throws an error (if the result is not successful) or logs the data
|
||||
// got as a result.
|
||||
func OracleCallback(url string, data interface{}, code int, res []byte) {
|
||||
func OracleCallback(url string, data any, code int, res []byte) {
|
||||
// This function shouldn't be called directly, we only expect oracle native
|
||||
// contract to be calling it.
|
||||
callingHash := runtime.GetCallingScriptHash()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue