example-embed-static-files-go icon indicating copy to clipboard operation
example-embed-static-files-go copied to clipboard

manifest

Open joe-getcouragenow opened this issue 5 years ago • 2 comments

in cmd/app, you need to remember the files in the box.

SO instead why not generate a golang Constants file during the gen ? This go file has the name of the file (use "_" for directories, and the path of the file.

The in cmd/app, instead of having to remember the string, you have golang constants. SO you get strong typing.

If you dont want it you dont have to use it. But its a nice to have.

SO the Manifest if a golang constants file.

joe-getcouragenow avatar Sep 23 '20 15:09 joe-getcouragenow

Its now done.

Let me know if you want a PR

joe-getcouragenow avatar Sep 23 '20 18:09 joe-getcouragenow

Hi @joe-getcouragenow

Good catch, thanks for report. If you can make PR for fix it, it's would be nice.

koddr avatar Sep 24 '20 06:09 koddr