16 lines
280 B
Go
16 lines
280 B
Go
|
// +build !release
|
||
|
|
||
|
package distribyted
|
||
|
|
||
|
//go:generate go run ./cmd/assets_generate/main.go
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"github.com/shurcooL/httpfs/union"
|
||
|
)
|
||
|
|
||
|
var HttpFS = union.New(map[string]http.FileSystem{
|
||
|
"/assets": http.Dir("assets"),
|
||
|
"/templates": http.Dir("templates"),
|
||
|
})
|