Closed lukanus closed 4 years ago
Yes I faced the same issue. Embed API has been changed and should also be reflected in the godoc
Is this still relevant? IIRC, Embed() takes package name as the first parameter now, this is what I see in code and in godoc. So the code in gen.go
looks valid to me.
There is a problem in this file so Embed doesn't take such params : func Embed(file string, dirs ...string) error