3 ms·
I suppose he's referring to embedding files (usually web resources such as js, css files) into the source code, using a tool such as go-bindata [1]. The assets
by trungaczne 11y ago
I suppose he's referring to embedding files (usually web resources such as js, css files) into the source code, using a tool such as go-bindata [1]. The assets are then accessed as variables.
[1] https://github.com/jteeuwen/go-bindata https://github.com/jteeuwen/go-bindata
- crough 11y agoHaskell has a library for this called "embed-file".
- rachbelaid 11y agoHaskell does but I'm comfortable in Go and easier to get people to contribute