admin
admin copied to clipboard
Fix views for go mod.
If this was supposed to fix the nil pointer exception caused by the template files not being present (mentioned in #56), it does not fix it, unfortunately.
I wrote a quick hack to pull the views I need at run-time once. I was able to get qor to work with go mod and go 1.13. For my needs I .gitignore the generated apps and admin folders, since I only need to use qor for DB model management. I call generateQorViews just before web server runs
https://gist.github.com/Krajiyah/ad1de0b61df0e9d19965d264ddf97787
you can use vend for downloading template files.
https://github.com/nomad-software/vend