mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +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 (
|
||||
contextType = reflect.TypeOf((*context.Context)(nil)).Elem()
|
||||
errorType = reflect.TypeOf((*error)(nil)).Elem()
|
||||
subscriptionType = reflect.TypeOf(Subscription{})
|
||||
stringType = reflect.TypeOf("")
|
||||
contextType = reflect.TypeFor[context.Context]()
|
||||
errorType = reflect.TypeFor[error]()
|
||||
subscriptionType = reflect.TypeFor[Subscription]()
|
||||
stringType = reflect.TypeFor[string]()
|
||||
)
|
||||
|
||||
type serviceRegistry struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue