Documentation
¶
Index ¶
Constants ¶
View Source
const ( BundleResource = "resources" BundleWeb = "web" )
Variables ¶
View Source
var (
ErrorAlwaysFail = errors.New("always fail")
)
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle interface {
Templates() Resource
Messages() Resource
Web() Resource
Keys() Resource
Images() Resource
Data() Resource
}
func EmptyBundle ¶
func EmptyBundle() Bundle
type Resource ¶
type Resource interface {
Bytes(key string) (bin []byte, err error)
HttpFileSystem() http.FileSystem
}
func EmptyResource ¶
func EmptyResource() Resource
Click to show internal directories.
Click to hide internal directories.