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

Rename FindAllXXX #105

Open
bmf-san opened this issue Sep 16, 2023 · 0 comments
Open

Rename FindAllXXX #105

bmf-san opened this issue Sep 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@bmf-san
Copy link
Owner

bmf-san commented Sep 16, 2023

It says "All", but it assumes Pagination, so the meaning is incorrect.
Something like FindByPageAndLimit seems good.

func (pr *Post) FindAllPublish(page int, limit int) (domain.Posts, error) {

@bmf-san bmf-san added the enhancement New feature or request label Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant