You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, cloudshell directly reading files for static files in public and node_modules from project directory for embedding static assets.
I think we should use go:embed to embed static assets directly into the Go binary. This feature of go will make the distribution of the binary easier, since we dont need to access the static files from the project directory, the downside is the binary will be bigger since it will have node_modules in it, but I think it's worth because we dont need to clone the whole project to use cloudshell, just the released binary is enough.
Thank you
The text was updated successfully, but these errors were encountered:
Currently, cloudshell directly reading files for static files in
public
andnode_modules
from project directory for embedding static assets.I think we should use
go:embed
to embed static assets directly into the Go binary. This feature of go will make the distribution of the binary easier, since we dont need to access the static files from the project directory, the downside is the binary will be bigger since it will havenode_modules
in it, but I think it's worth because we dont need to clone the whole project to use cloudshell, just the released binary is enough.Thank you
The text was updated successfully, but these errors were encountered: