mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
minor
Former-commit-id: eb7899a04d02dd002670a2b52bd1e2a6fd7ce7db
This commit is contained in:
parent
0271e316e0
commit
e05333475a
|
@ -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".
|
||||
|
|
Loading…
Reference in New Issue
Block a user