mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
Get pongo2's origin data type
Former-commit-id: 221a3d1e3af0088db86da7b2e3d9f20009cce785
This commit is contained in:
@@ -44,6 +44,22 @@ type (
|
||||
TagParser func(doc *Parser, start *Token, arguments *Parser) (INodeTag, *Error)
|
||||
)
|
||||
|
||||
func (value *Value) GetValue() *pongo2.Value {
|
||||
return (*pongo2.Value)(value)
|
||||
}
|
||||
|
||||
func (error *Error) GetError() *pongo2.Error {
|
||||
return (*pongo2.Error)(error)
|
||||
}
|
||||
|
||||
func (parser *Parser) GetParser() *pongo2.Parser {
|
||||
return (*pongo2.Parser)(parser)
|
||||
}
|
||||
|
||||
func (token *Token) GetToken() *pongo2.Token {
|
||||
return (*pongo2.Token)(token)
|
||||
}
|
||||
|
||||
type tDjangoAssetLoader struct {
|
||||
baseDir string
|
||||
assetGet func(name string) ([]byte, error)
|
||||
|
||||
Reference in New Issue
Block a user