2020-07-14 11:55:08 +00:00
|
|
|
// +build !release
|
|
|
|
|
|
|
|
package distribyted
|
|
|
|
|
2020-11-08 17:19:25 +00:00
|
|
|
//go:generate go run ./build_tools/assets_generate/main.go
|
2020-07-14 11:55:08 +00:00
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
"github.com/shurcooL/httpfs/union"
|
|
|
|
)
|
|
|
|
|
|
|
|
var HttpFS = union.New(map[string]http.FileSystem{
|
|
|
|
"/assets": http.Dir("assets"),
|
|
|
|
"/templates": http.Dir("templates"),
|
|
|
|
})
|