上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 原文地址:http://www.niu12.com/article/47package mainimport "fmt"type ListNode struct { Value int Next *ListNode}func main() { one := makeListNode([]int{1, 2, 3}) for one != nil { fmt.Println... 阅读全文
posted @ 2018-11-10 17:31 周起 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.niu12.com/article/48 git地址:git@github.com:ZQCard/leetcode.git 给定一个 32 位有符号整数,将整数中的数字进行反转。 示例 1: 示例 2: 示例 3: 阅读全文
posted @ 2018-11-10 17:31 周起 阅读(212) 评论(0) 推荐(0) 编辑
摘要: http://www.niu12.com/article/45// 初始化routerrouter := gin.New()router.Use(gin.Logger())router.Use(gin.Recovery())// 使用跨域中间件router.Use(cors.Cors()) pack 阅读全文
posted @ 2018-10-29 13:36 周起 阅读(7451) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.niu12.com/article/42 阅读全文
posted @ 2018-10-18 11:09 周起 阅读(2073) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.niu12.com/article/41 阅读全文
posted @ 2018-10-18 09:22 周起 阅读(14191) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://www.niu12.com/article/40package mainimport ( "fmt" "github.com/gin-gonic/gin" "net/http")func getRouteParams(c *gin.Context) { // 获取路由参数为n 阅读全文
posted @ 2018-10-18 09:20 周起 阅读(15863) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.niu12.com/article/38 github地址:https://github.com/ZQCard/go_api_practice 阅读全文
posted @ 2018-09-16 02:25 周起 阅读(5380) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.niu12.com/article/36 github地址:https://github.com/ZQCard/go_api_practice 阅读全文
posted @ 2018-09-13 11:03 周起 阅读(3189) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.niu12.com/article/35 初次学go,在了解一些基础之后就开始做一个用户的增删改查来回顾知识,有很多数据验证和安全漏洞并没有考虑,只当作联系 前提:下载mysql驱动 a.go get github.com/go-sql-driver/mysql b. 阅读全文
posted @ 2018-09-12 16:30 周起 阅读(2785) 评论(0) 推荐(0) 编辑
摘要: (1)Computer.class.php (电脑类) (2)Unit.class.php (组件抽象父类) (3)Cpu.class.php (具体组件:cpu) (4)Memory.class.php(具体组件:内存) (5)Keyboard.class.php(具体组件:键盘) (6)Visi 阅读全文
posted @ 2018-06-12 14:12 周起 阅读(208) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页