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:
parent
144a76a67a
commit
55f59d88b6
11 changed files with 155 additions and 53 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue