init
This commit is contained in:
15
assets_dev.go
Normal file
15
assets_dev.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// +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()
|
||||
Reference in New Issue
Block a user