mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-15 17:30:44 +00:00
Co-authored-by: cui <cuiweixie@gmail.com>
This commit is contained in:
parent
2d36f159c7
commit
33b40aef2c
1 changed files with 4 additions and 4 deletions
|
|
@ -29,10 +29,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
contextType = reflect.TypeOf((*context.Context)(nil)).Elem()
|
contextType = reflect.TypeFor[context.Context]()
|
||||||
errorType = reflect.TypeOf((*error)(nil)).Elem()
|
errorType = reflect.TypeFor[error]()
|
||||||
subscriptionType = reflect.TypeOf(Subscription{})
|
subscriptionType = reflect.TypeFor[Subscription]()
|
||||||
stringType = reflect.TypeOf("")
|
stringType = reflect.TypeFor[string]()
|
||||||
)
|
)
|
||||||
|
|
||||||
type serviceRegistry struct {
|
type serviceRegistry struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue