From e949927df6c76ae20459c4462f635717c33cf8e4 Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 2 Jan 2018 23:58:20 -0600 Subject: [PATCH] comment typos --- app/store/bolt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/store/bolt.go b/app/store/bolt.go index 51532cad..365ee037 100644 --- a/app/store/bolt.go +++ b/app/store/bolt.go @@ -12,9 +12,9 @@ import ( "github.com/pkg/errors" ) -// BoltDB implements store.Interface, represents multiple site with multiplexing to different bolt dbs. Thread safe. +// BoltDB implements store.Interface, represents multiple sites with multiplexing to different bolt dbs. Thread safe. // there are 4 types of buckets: -// - comments for post. Each url (post) makes it's own bucket and each k:v pair is commentID:comment +// - comments for post. Each url (post) makes its own bucket and each k:v pair is commentID:comment // - history of all comments. They all in a single "last" bucket (per site) and key is defined by ref struct as ts+commentID // value is not full comment but a reference combined from post-url+commentID // - user to comment references in "users" bucket. It used to get comments for user. Key is userID and value