5 ms·
Don't you also have a load of static content (js, css, etc), templates, and configuration files to upload / sync as well? But yes, it does sound a bit easier.
by deckiedan 13y ago
Don't you also have a load of static content (js, css, etc), templates, and configuration files to upload / sync as well?
But yes, it does sound a bit easier.
- Octplane 13y agoWith some clever compilation stuff, you can also pack most static assets directly in your application (see https://github.com/jteeuwen/go-bindata https://github.com/jteeuwen/go-bindata ). This gets even more magic...
- philips 13y agoWe use go-bindata on etcd to build the frontend components of the dashboard into the binary: https://github.com/coreos/etcd/blob/0.2/mod/dashboard/resources/bindata-file.go https://github.com/coreos/etcd/blob/0.2/mod/dashboard/resour... https://github.com/coreos/etcd/blob/0.2/mod/dashboard/build https://github.com/coreos/etcd/blob/0.2/mod/dashboard/build https://github.com/coreos/etcd/blob/0.2/mod/dashboard/dashboard.go#L14 https://github.com/coreos/etcd/blob/0.2/mod/dashboard/dashbo...