But, when I run gocyto --out out.html -web github.com/org/repo/... from within the module repository directory, I receive a panic:
panic: open index.gohtml: no such file or directory
goroutine 1 [running]:
html/template.Must(...)
/usr/local/Cellar/go/1.17.2/libexec/src/html/template/template.go:374
main.main.func2({0x13aa400, 0xc010d21080})
/Users/nick/dev/gocyto/main.go:97 +0x37f
main.main()
/Users/nick/dev/gocyto/main.go:132 +0x6b4
It only works when I copy the index.gohtml file from the protolambda/gocyto repo into the current directory.
I really like this tool :)
But, when I run
gocyto --out out.html -web github.com/org/repo/...
from within the module repository directory, I receive a panic:It only works when I copy the
index.gohtml
file from the protolambda/gocyto repo into the current directory.