// appendCurPage 当前页 func (this *Paginator) appendCurPage(stringBuilder *goutils.Buffer, uri string) { stringBuilder.Append(`<li class="active"><a href="`).Append(uri).Append("p=").Append(this.curPage).Append(`">`).Append(this.curPage).Append("</a></li>") }
func (this *Paginator) appendPage(stringBuilder *goutils.Buffer, uri string, page int) { stringBuilder.Append(`<li><a href="`).Append(uri).Append("p=").Append(page).Append(`">`).Append(page).Append("</a></li>") }