enable static asset serving

- It changes behavior depending on if STATIC is set.
- will need to run $(go generate ./...) before compiles will work
This commit is contained in:
sm
2015-08-26 23:16:12 -07:00
parent 6797c134d1
commit 7818a64756
3 changed files with 61 additions and 11 deletions
+6
View File
@@ -0,0 +1,6 @@
package server
//go:generate go get github.com/jteeuwen/go-bindata/...
//go:generate go get github.com/elazarl/go-bindata-assetfs/...
//go:generate rm -f static.go
//go:generate go-bindata -o static.go -pkg=server ui/...