![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
仅记录
奥特曼不想打小怪兽
这个作者很懒,什么都没留下…
展开
-
PHP设置状态码并返回数据
PHP设置状态码并返回数据原创 2022-06-08 14:54:18 · 680 阅读 · 0 评论 -
Go手写数组的分页(自己记录)
package main import "fmt" var page = 2 var limit = 10 func main() { data := []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33} //手写分页 start := (page - 1) * limit end := p原创 2022-04-08 11:03:10 · 618 阅读 · 0 评论