all repos — honk @ 63ffd1f12a8b0af3193666d013c2fcc344001621

my fork of honk

remove unused function
Ted Unangst tedu@tedunangst.com
Sat, 13 Apr 2019 16:00:21 -0400
commit

63ffd1f12a8b0af3193666d013c2fcc344001621

parent

0306854c19d7f14fe3ea64cff7c2686ad80d7571

1 files changed, 0 insertions(+), 8 deletions(-)

jump to
M activity.goactivity.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 {