62f54cbb by 傅小黑

fix typo error

1 parent cb876268
...@@ -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 != "" {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!