remove unused function
Ted Unangst tedu@tedunangst.com
Sat, 13 Apr 2019 16:00:21 -0400
1 files changed,
0 insertions(+),
8 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -19,7 +19,6 @@ import (
"bytes" "compress/gzip" "crypto/rsa" - "crypto/sha256" "database/sql" "encoding/json" "fmt"@@ -178,13 +177,6 @@ return jsonfindarray(j, []string{key})
} func jsongetmap(j interface{}, key string) (map[string]interface{}, bool) { return jsonfindmap(j, []string{key}) -} - -func sha256string(s string) string { - hasher := sha256.New() - io.WriteString(hasher, s) - sum := hasher.Sum(nil) - return fmt.Sprintf("%x", sum) } func savedonk(url string, name, media string) *Donk {