vugu / vugu

Vugu: A modern UI library for Go+WebAssembly (experimental)
https://www.vugu.org
MIT License
4.8k stars 175 forks source link

Add the vgfrom generated files to github. #264

Closed owenwaller closed 2 months ago

owenwaller commented 5 months ago

Oops, this corrects a mistake made in PR261 (https://github.com/vugu/vugu/pull/261)

When the "_vgen.go" files where removed and replaced with the new "*_gen.go" files, the auto-generated files in the vgform package were not commited back to github. This commit corrects that by committing the auto-generated files.

If left this would have been an probem for a user of the vgfrom package, as the package would not have a complete set of files if imported as github.com/vugu/vugu/vgfrom.

The package user would have to know that "go generate github.com/vugu/vugu/vgfrom" would have to be run beforehand.

This is an unreasonable expectation and is contary to the "go generate" usage advice.