all repos — homestead @ eb378cb096abf0d80c9301ca7c6a7a8014639cb0

Code for my website

remove unused function

Alan Pearce
commit

eb378cb096abf0d80c9301ca7c6a7a8014639cb0

parent

028aae24db5da9ebc1427e81b82ed664f3b79647

1 file changed, 0 insertions(+), 13 deletions(-)

changed files
D domain/content/builder/template/hasher.go
@@ -1,13 +0,0 @@
-package template - -import ( - "crypto/sha256" - "encoding/base64" -) - -func Hash(s string) string { - shasum := sha256.New() - shasum.Write([]byte(s)) - - return "sha256-" + base64.StdEncoding.EncodeToString(shasum.Sum(nil)) -}