From 8d3a6bcd35808bd628151b416dda35a5d9cdfa3f Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Sat, 16 Jul 2016 09:42:24 +1000 Subject: [PATCH] Rename hash to sha1 --- pastebin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastebin.go b/pastebin.go index f0315a2..ba6ff9b 100644 --- a/pastebin.go +++ b/pastebin.go @@ -52,7 +52,7 @@ var syntax, _ = ioutil.ReadFile("assets/syntax.html") type Response struct { ID string `json:"id"` TITLE string `json:"title"` - HASH string `json:"hash"` + SHA1 string `json:"sha1"` URL string `json:"url"` SIZE int `json:"size"` DELKEY string `json:"delkey"`