diff options
author | FChannel <> | 2021-06-28 17:34:33 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-28 17:34:33 -0700 |
commit | 429ab6de683653c0ae509ba169eab768f2e3bd91 (patch) | |
tree | 3052cbec8354bde3ec2ae309cc5334eedcc4575d /client.go | |
parent | 3f253bd03c663366a68b93b3e9a12b41902a8a09 (diff) |
removed creating client key file
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -469,19 +469,6 @@ func GetActorsFollowPostFromId(db *sql.DB, actors []string, id string) Collectio return collection } -func CreateClientKey() string{ - - file, err := os.Create("clientkey") - - CheckError(err, "could not create client key in file") - - defer file.Close() - - key := CreateKey(32) - file.WriteString(key) - return key -} - type ObjectBaseSortDesc []ObjectBase func (a ObjectBaseSortDesc) Len() int { return len(a) } func (a ObjectBaseSortDesc) Less(i, j int) bool { return a[i].Updated > a[j].Updated } |