The new updates to golang modules ensure that this code generation solution just got a lot more painful, as now each generated subpackage needs its own go-mod file autogenerated, it seems.