mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
This adds support for importing types from multiple identically-named packages. --------- Co-authored-by: Felix Lange <fjl@twurst.com>
13 lines
231 B
Go
13 lines
231 B
Go
// -*- mode: go -*-
|
|
|
|
package test
|
|
|
|
import (
|
|
eth1 "github.com/ethereum/go-ethereum/eth"
|
|
eth2 "github.com/ethereum/go-ethereum/eth/protocols/eth"
|
|
)
|
|
|
|
type Test struct {
|
|
A eth1.MinerAPI
|
|
B eth2.GetReceiptsPacket
|
|
}
|