You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gosuv/assets_dev.go

16 lines
324 B

// +build !vfs
//go:generate go run assets_generate.go
package main
import (
"net/http"
)
// Assets contains project assets.
//var Assets http.FileSystem = http.Dir("res")
var Assets http.FileSystem //= rice.MustFindBox("res").HTTPBox()
//var fff, _ = rice.FindBox("res")
//var Assets http.FileSystem = fff.HTTPBox()