Former-commit-id: eb7899a04d02dd002670a2b52bd1e2a6fd7ce7db
This commit is contained in:
Gerasimos (Makis) Maropoulos 2019-08-09 08:29:22 +03:00
parent 0271e316e0
commit e05333475a

View File

@ -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). // Also it wont check if a value is already a reflect.Value (jet expects this type as values).
// //
// Defaults to empty. // Defaults to empty.
func (s *JetEngine) DisableViewDataTypeCheck(jetDataContextKey string) { func (s *JetEngine) DisableViewDataTypeCheck(jetDataContextKey string) *JetEngine {
s.jetRendererRangerContextKey = jetDataContextKey s.jetRendererRangerContextKey = jetDataContextKey
return s
} }
// String returns the name of this view engine, the "jet". // String returns the name of this view engine, the "jet".