We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a5387 commit 5a00294Copy full SHA for 5a00294
rlp/rlpgen/gen.go
@@ -189,10 +189,8 @@ func (ctx *genContext) importsList() []string {
189
imp := make([]string, 0, len(ctx.imports))
190
for path, p := range ctx.imports {
191
if p.alias == p.pkg.Name() {
192
- // If the alias matches the package name, use standard import
193
imp = append(imp, fmt.Sprintf("%q", path))
194
} else {
195
- // If we have a custom alias, use aliased import
196
imp = append(imp, fmt.Sprintf("%s %q", p.alias, path))
197
}
198
0 commit comments