fix typo error
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -140,7 +140,7 @@ func (c *Controller) RenderString() (string, error) { | ... | @@ -140,7 +140,7 @@ func (c *Controller) RenderString() (string, error) { |
| 140 | return string(b), e | 140 | return string(b), e |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | // RenderBytes returns the bytes of renderd tempate string. Do not send out response. | 143 | // RenderBytes returns the bytes of rendered template string. Do not send out response. |
| 144 | func (c *Controller) RenderBytes() ([]byte, error) { | 144 | func (c *Controller) RenderBytes() ([]byte, error) { |
| 145 | //if the controller has set layout, then first get the tplname's content set the content to the layout | 145 | //if the controller has set layout, then first get the tplname's content set the content to the layout |
| 146 | if c.Layout != "" { | 146 | if c.Layout != "" { | ... | ... |
-
Please register or sign in to post a comment