Sorted out how to do views with Go html/template, how to put code in subdirectories for a namespace, and documented why Go's modules are so weird.

This commit is contained in:
Zed A. Shaw 2025-06-06 13:12:38 -04:00
parent 144a76a67a
commit 55f59d88b6
11 changed files with 155 additions and 53 deletions

View file

@ -1,11 +1,14 @@
build:
go build .
html:
go tool qtc -dir templates
docs:
go tool godoc -http=localhost:6060 -index -index_files godoc.idx
build_docs:
go tool godoc -v -http=localhost:6060 -index -index_files godoc.idx -write_index
go tool godoc -v -http=localhost:6060 -index -index_files godoc.idx -write_index
dev:
go tool air