vim-jp / vim-jp/slacklog-generator

次の月、前の月が得られない場合がある

Open
#114 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
24
Forks
9
Avg merge
21d 5h
Merged PRs (30d)
1

Description

一か月まるまる発言がないと LogStore.HasNextMonth()LogStore.HasPrevMonth() がKeyを返さない。

MsgsMapの key を+1/-1 して Messages の有無をチェックしてるので
ないとfalseが返っちゃう。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading LogStore.HasNextMonth() and LogStore.HasPrevMonth(), then trace how MsgsMap keys and Messages are checked. Verify behavior across months with no messages; the work is done when adjacent month keys can still be obtained across an empty month.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.