Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
kataras committed Aug 9, 2019
1 parent 7c3025b commit de2f170
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion view/jet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down

0 comments on commit de2f170

Please sign in to comment.