From e05333475a77658c7a9ffd9f46ebe89a16e55b2a Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Fri, 9 Aug 2019 08:29:22 +0300 Subject: [PATCH] minor Former-commit-id: eb7899a04d02dd002670a2b52bd1e2a6fd7ce7db --- view/jet.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/view/jet.go b/view/jet.go index aaccbcb0..ac63d212 100644 --- a/view/jet.go +++ b/view/jet.go @@ -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".