Imported project in git, removed bindata dependency

This commit is contained in:
2019-12-26 07:21:48 -09:00
committed by Christopher Ramey
parent b4cb7a823e
commit 948be25267
18 changed files with 230 additions and 491 deletions

10
main.go
View File

@ -6,11 +6,15 @@ import (
"net"
"net/http"
"os"
"qurl/pages"
"qurl/storage"
"git.binarythought.com/cdramey/qurl/pages"
"git.binarythought.com/cdramey/qurl/storage"
)
//go:generate bindata -m Assets -r assets -p static -o static/assets.go assets
//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")