Closed radutopala closed 6 years ago
@radutopala Agreed. Its good to differentiate auto-generated files.
I believe directory root/app/cache
would be appropriate, since directory app
is meant for Go source files.
Going with directory name as generated
at <app-base-directory>/app/generated
. Since v0.12.0 release bring new module cache
. Just on safer side and not to introduced confusion.
It will be imported on main file. Example -
_ "<app-import-path>/app/generated"
This directory gets cleaned on every run, compile and build.
Done 😄
Store the auto-generated
root/app/aah.go
androot/app/aah_app_vfs.go
maybe inroot/app/cache/
orroot/cache
, just to be clear for the developer that these files shouldn't be editable and that they are auto-generated on each run or build.