Manually set import in altsrc flag generation

Otherwise `goimports` switches it to `github.com/urfave/cli`
This commit is contained in:
Jesse Szwedko 2016-09-03 14:22:45 -07:00
parent 33bb4c1213
commit df95e0708f

View File

@ -202,6 +202,10 @@ def _write_altsrc_flag_types(outfile, types):
_fwrite(outfile, """\
package altsrc
import (
"gopkg.in/urfave/cli.v1"
)
// WARNING: This file is generated!
""")