From 176edde1fbe1ece915f9374a05e0155c3695d14b Mon Sep 17 00:00:00 2001
From: Fareed Dudhia <fareeddudhia@googlemail.com>
Date: Wed, 16 Jul 2014 12:53:57 +0000
Subject: [PATCH] SetHTTPTemplate -> SetHTMLTemplate

---
 gin.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gin.go b/gin.go
index 4d768723..eae215f7 100644
--- a/gin.go
+++ b/gin.go
@@ -149,15 +149,15 @@ func Default() *Engine {
 
 func (engine *Engine) LoadHTMLGlob(pattern string) {
 	templ := template.Must(template.ParseGlob(pattern))
-	engine.SetHTTPTemplate(templ)
+	engine.SetHTMLTemplate(templ)
 }
 
 func (engine *Engine) LoadHTMLFiles(files ...string) {
 	templ := template.Must(template.ParseFiles(files...))
-	engine.SetHTTPTemplate(templ)
+	engine.SetHTMLTemplate(templ)
 }
 
-func (engine *Engine) SetHTTPTemplate(templ *template.Template) {
+func (engine *Engine) SetHTMLTemplate(templ *template.Template) {
 	engine.HTMLRender = render.HTMLRender{
 		Template: templ,
 	}