Hi folks,
I tried to use the new go-generate hook and ran into an error:
go-generate..............................................................Failed
- hook id: go-generate
- exit code: 1
named files must all be in one directory; have path/to/a/package and path/to/another/package
As per the generate documentation it appears go generate can handle multiple files in the same package and multiple packages, however it can't handle multiple files in the same package.
Hi folks,
I tried to use the new
go-generatehook and ran into an error:As per the generate documentation it appears
go generatecan handle multiple files in the same package and multiple packages, however it can't handle multiple files in the same package.