This commit is contained in:
2024-08-27 15:46:23 +08:00
commit 715eda7c67
70 changed files with 20484 additions and 0 deletions

15
assets_dev.go Normal file
View 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()