This commit is contained in:
Eugene
2017-12-23 13:50:26 -06:00
parent 60d2b30907
commit 5a1577d7db
+1 -1
View File
@@ -60,7 +60,7 @@ func (b *BoltDB) Create(comment Comment) (string, error) {
return errors.Errorf("key %s already in store", comment.ID)
}
// serialise comment to json's []byte for bolt and save
// serialize comment to json []byte for bolt and save
jdata, jerr := json.Marshal(&comment)
if jerr != nil {
return errors.Wrap(jerr, "can't marshal comment")