mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 18:57:57 +08:00
Since go1.16, there are built in tools that allow for embeding filesystem inside the binary. We now make use of the `embed` package to have all files put into the binary, removing the need to generate the files and removes dependencies Co-authored-by: Jorropo <jorropo.pgm@gmail.com> |
||
|---|---|---|
| .. | ||
| dir-index-html | ||
| init-doc | ||
| assets.go | ||
| README.md | ||
Assets loaded in with IPFS
This directory contains the go-ipfs assets:
- Getting started documentation (
init-doc). - Directory listing HTML template (
dir-index-html).
Re-generating
Edit the source files and use go generate from within the
assets directory:
go generate .