mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
Full support of the http.FileSystem on all view engines as requested at #1575
Also, the HandleDir accepts both string and http.FileSystem (interface{}) (like the view's fs)
This commit is contained in:
@@ -6,7 +6,9 @@ import (
|
||||
|
||||
// How to run:
|
||||
//
|
||||
// $ go get -u github.com/go-bindata/go-bindata/v3/go-bindata
|
||||
// $ go get -u github.com/go-bindata/go-bindata
|
||||
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
|
||||
// # to save it to your go.mod file
|
||||
// $ go-bindata -prefix "../embedding-files-into-app/assets/" -fs ../embedding-files-into-app/assets/...
|
||||
// $ go run .
|
||||
// Time to complete the compression and caching of [2/3] files: 31.9998ms
|
||||
|
||||
Reference in New Issue
Block a user