From c4eb48352d50a21dc0843c363fee4d8df48e0809 Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Tue, 9 Feb 2016 22:38:56 +0800 Subject: [PATCH] Use html/template like good gophers --- handlers/high_scores.go | 2 +- handlers/report.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/high_scores.go b/handlers/high_scores.go index 1cdb07e..5327e1c 100644 --- a/handlers/high_scores.go +++ b/handlers/high_scores.go @@ -4,9 +4,9 @@ import ( "container/heap" "encoding/json" "fmt" + "html/template" "log" "net/http" - "text/template" "time" "github.com/boltdb/bolt" diff --git a/handlers/report.go b/handlers/report.go index 323fbdc..efb7ae8 100644 --- a/handlers/report.go +++ b/handlers/report.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/alecthomas/template" + "html/template" ) // ReportHandler handles the report page