From 001c3abc3c880d1d6d5a41828a454cfdce3de3f3 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sat, 30 Dec 2017 12:58:58 -0600 Subject: [PATCH] typos --- README.md | 2 +- app/store/bolt.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a5b85d06..09bcb691 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Remark42 is a self-hosted, lightweight, and simple (yet functional) comment engi - Export data to json with automatic backups - No external databases, everything embedded in a single data file - Fully dockerized and can be deployed in a single command -- Nice, lightweight and fully customizable UI +- Clean, lightweight and fully customizable UI - Multi-site mode from a single instance - Integration with automatic ssl via [nginx-le](https://github.com/umputun/nginx-le) diff --git a/app/store/bolt.go b/app/store/bolt.go index c08fc84e..387b8dac 100644 --- a/app/store/bolt.go +++ b/app/store/bolt.go @@ -55,7 +55,7 @@ func NewBoltDB(sites ...BoltSite) (*BoltDB, error) { // Create saves new comment to store func (b *BoltDB) Create(comment Comment) (string, error) { - // fille ID and time if empty + // fill ID and time if empty if comment.ID == "" { comment.ID = makeCommentID() } @@ -121,7 +121,7 @@ func (b *BoltDB) Create(comment Comment) (string, error) { return comment.ID, err } -// Delete removes comment locator from the store +// Delete removes comment, by locator from the store func (b *BoltDB) Delete(locator Locator, commentID string) error { bdb, err := b.db(locator.SiteID) @@ -152,7 +152,7 @@ func (b *BoltDB) Delete(locator Locator, commentID string) error { }) } -// Find comments for post +// Find retruns all comments for post and sorts results func (b *BoltDB) Find(request Request) ([]Comment, error) { res := []Comment{}