Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Commit 912c53c

Browse files
authored
Fixed comment styling of #100
1 parent 5e5d6a6 commit 912c53c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stores/redis/redis.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ func (r *Store) GetUserEntries(userIdentifier string) (map[string]shared.Entry,
285285
}
286286

287287
// RegisterVisitor adds a shared.Visitor to the list of visits for a path.
288-
func (r *Store) RegisterVisitor(id, visitId string, visitor shared.Visitor) error {
288+
func (r *Store) RegisterVisitor(id, visitID string, visitor shared.Visitor) error {
289289
data, err := json.Marshal(visitor)
290290
if err != nil {
291-
msg := fmt.Sprintf("Could not marshal JSON for entry %s, visitId %s", id, visitId)
291+
msg := fmt.Sprintf("Could not marshal JSON for entry %s, visitID %s", id, visitID)
292292
logrus.Error(msg)
293293
return errors.Wrap(err, msg)
294294
}
@@ -303,7 +303,7 @@ func (r *Store) RegisterVisitor(id, visitId string, visitor shared.Visitor) erro
303303
return err
304304
}
305305

306-
// Return the full list of visitors for a path.
306+
// GetVisitors returns the full list of visitors for a path.
307307
func (r *Store) GetVisitors(id string) ([]shared.Visitor, error) {
308308
var visitors []shared.Visitor
309309
key := entryVisitsPrefix + id

0 commit comments

Comments
 (0)