Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add repository function for board post limit information #120

Merged

Conversation

wagaru
Copy link
Collaborator

@wagaru wagaru commented Mar 8, 2021

👏 解決掉的 issue / Resolved Issues

📝 相關的 issue / Related Issues

⛏ 變更內容 / Details of Changes

  • 參考 go-bbs的討論
  • 在 repository/board.go 新增以下 mock interfaces:
    • PostsLimitedBoardRecord
    • LoginsLimitedBoardRecord
    • BadPostLimitedBoardRecord
  • repository/repository.go 的 Repository interface 提供以下 method
    • GetBoardPostsLimited()
    • GetBoardLoginsLimited()
    • GetBoardBadPostLimited()

@y2468101216
Copy link
Collaborator

LGTM

1 similar comment
@PichuChen
Copy link
Member

LGTM

@PichuChen PichuChen merged commit ff1b2cc into Ptt-official-app:development Mar 8, 2021
@wagaru wagaru deleted the feature/#116-#post_limits branch March 8, 2021 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[主線] [PTT] 實作顯示發文限制的 repository 套件
3 participants