updated to make better use of go 1.16 features

This commit is contained in:
2021-06-27 09:29:31 -08:00
parent d272cafd2e
commit 2510448ed7
33 changed files with 47 additions and 4888 deletions

View File

@ -10,12 +10,6 @@ import (
"os"
)
//go:generate go run ./togo -n Favicon_ico -i assets/favicon.ico -p static -o static/favicon_ico.go
//go:generate go run ./togo -n Index_html -i assets/index.html -p static -o static/index_html.go
//go:generate go run ./togo -n Qurl_css -i assets/qurl.css -p static -o static/qurl_css.go
//go:generate go run ./togo -n Submit_html -i assets/submit.html -p static -o static/submit_html.go
//go:generate go run ./togo -n Usage_html -i assets/usage.html -p static -o static/usage_html.go
func main() {
dburl := flag.String("u", "bolt:./qurl.db", "url to database")
lsaddr := flag.String("l", "127.0.0.1:8080", "listen address/port")