mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 06:47:08 +00:00
minor
Former-commit-id: eb7899a04d02dd002670a2b52bd1e2a6fd7ce7db
This commit is contained in:
@@ -78,8 +78,9 @@ func Jet(directory, extension string) *JetEngine {
|
||||
// Also it wont check if a value is already a reflect.Value (jet expects this type as values).
|
||||
//
|
||||
// Defaults to empty.
|
||||
func (s *JetEngine) DisableViewDataTypeCheck(jetDataContextKey string) {
|
||||
func (s *JetEngine) DisableViewDataTypeCheck(jetDataContextKey string) *JetEngine {
|
||||
s.jetRendererRangerContextKey = jetDataContextKey
|
||||
return s
|
||||
}
|
||||
|
||||
// String returns the name of this view engine, the "jet".
|
||||
|
||||
Reference in New Issue
Block a user