go-ethereum/rlp/rlpgen/testdata/pkgclash.in.txt
Daniel Liu 5208d126e6
rlp/rlpgen: implement package renaming support #31148 (#1402)
This adds support for importing types from multiple identically-named
packages.

---------

Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-08-31 15:51:51 +08:00

13 lines
231 B
Go

// -*- mode: go -*-
package test
import (
eth1 "github.com/XinFinOrg/XDPoSChain/eth"
eth2 "github.com/XinFinOrg/XDPoSChain/eth/protocols/eth"
)
type Test struct {
A eth1.MinerAPI
B eth2.GetReceiptsPacket
}