Hi,
I have question about go install and a go webapp structure.
Currently, I have a webapp which the project structure is look like:
myproject/
bin/
src/
mygoproject/
main.go
views/
index.gtpl
Then I do go install inside the mygoproject/. There will be binary file built in the /bin folder. However, the web pages in views is not copyed to bin/.
When I run the binary file in the bin/, it will not found the webpages and throw exceptions so I have to manually copy the views/ folder to the bin/.
Is this correct?should the vies also be included in the binary file?
regards,
Yan