We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func (post *Post) GetPreAndNext() (pre, next *Post)
这个函数获取pre的时候 __lt 小于的时候 排序是从小排的
比如 当前是5 小于5的文章 限制3的话 顺序是 1 2 3 可能是我最近更新了 beego 和 mysql 的原因把。
The text was updated successfully, but these errors were encountered:
补充一下 原来 __gt 也出问题了。。。
Sorry, something went wrong.
No branches or pull requests
func (post *Post) GetPreAndNext() (pre, next *Post)
这个函数获取pre的时候 __lt 小于的时候 排序是从小排的
比如 当前是5 小于5的文章 限制3的话 顺序是 1 2 3 可能是我最近更新了 beego 和 mysql 的原因把。
The text was updated successfully, but these errors were encountered: