nelsam / hel

Hel rules over Helheim, where the souls unworthy of Valhalla reside. It's also a mock generator for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies need local package name

jasonkeene opened this issue · comments

It seems like prependLocalPackage is not always being called on dependencies.

My guess is that this is related to embedded exported interface types, e.g.

type Foo interface {
    grpc.Stream
}

I would guess that somehow, we're not flattening properly when descending into those types. However, I honestly couldn't guess how.