It looks like #69 introduced a Fprintf with an extraneous parameter which is causing generated code to be invalid:
fmt.Fprintf(f, "// Code generated by pkger; DO NOT EDIT.\n\n", name) // <-- name is extraneous
With Go 1.13 this produces the following code:
// Code generated by pkger; DO NOT EDIT.
%!(EXTRA string=main)package main
import (
"github.com/markbates/pkger"
"github.com/markbates/pkger/pkging/mem"
)
var _ = pkger.Apply(mem.UnmarshalEmbed([]byte(<snip>)))
It looks like #69 introduced a Fprintf with an extraneous parameter which is causing generated code to be invalid:
With Go 1.13 this produces the following code: