kubo/assets/README.md
Steven Allen 3883dfe450 assets: move away from gx
1. Use a submodule for dir-index-html. This isn't a go dependency and treating
   it like one is more trouble than it's worth. We don't actually need to
   checkout the submodule unless we need to regenerate the assets.
2. Avoid a runtime dependency on dir-index-html (may shave a few bytes off the
   final binary?).
3. Remove unused code.
4. Avoid bundling unused files.
5. Switch to a maintained version of go-bindata.
6. Use go mod to manage go-bindata.
2019-06-11 15:36:47 -07:00

197 B

Assets loaded in with IPFS

Generating docs

Do not edit the .go files directly.

Instead, edit the source files and use go generate from within the assets directory:

go generate .