From e687287e7a09d4103eaf2915280858e8b8fef632 Mon Sep 17 00:00:00 2001 From: Fuad Ar-Radhi <8604132+fuadarradhi@users.noreply.github.com> Date: Tue, 29 Dec 2020 07:12:53 +0700 Subject: [PATCH] add Delims config doc Delims is not documented --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f22e3e..8d228d6 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ Use new instance with config: }, }, DisableCache: true, + Delims: Delims{Left: "{{", Right: "}}"}, }) //Set new instance @@ -137,6 +138,7 @@ Use multiple instance with config: }, }, DisableCache: true, + Delims: Delims{Left: "{{", Right: "}}"}, }) //write http.ResponseWriter @@ -157,6 +159,7 @@ Use multiple instance with config: }, }, DisableCache: true, + Delims: Delims{Left: "{{", Right: "}}"}, }) //write http.ResponseWriter @@ -179,6 +182,7 @@ goview.Config{ // more funcs }, DisableCache: false, //if disable cache, auto reload template file for debug. + Delims: Delims{Left: "{{", Right: "}}"}, } ``` @@ -927,4 +931,4 @@ See [_examples/](https://github.com/foolin/goview/blob/master/_examples/) for a ### Todo [ ] Add Partials support directory or glob [ ] Add functions support. - \ No newline at end of file +