summaryrefslogtreecommitdiffhomepage
path: root/http
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2019-11-23 20:26:03 -0500
committerChloe Kudryavtsev <toast@toast.cafe>2019-11-23 20:26:03 -0500
commit1a7ead0756a94c752ba5cc1065eabc530f1120e7 (patch)
tree5c0ab2970ef89fcaff0a46e7293234751ca66674 /http
parentUpdate docs to rewrite (diff)
Remove deprecated comments
Diffstat (limited to 'http')
-rw-r--r--http/get.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/http/get.go b/http/get.go
index 459d18f..016173f 100644
--- a/http/get.go
+++ b/http/get.go
@@ -25,8 +25,6 @@ func Get(store storage.CHR) handler {
if lang == "raw" {
ctx.SuccessString("text/plain", res)
} else {
- //b := new(bytes.Buffer)
- //template.WriteCode(b, lang, res)
ctx.SuccessString("text/html", template.Code(lang, res)) // render template
}
default: