摘要: 阅读全文
posted @ 2019-12-01 16:05 尘归风 阅读(103) 评论(0) 推荐(0)
摘要: where: 'a_'下划线 去重 _下划线只代表一个字符 聚合函数count 阅读全文
posted @ 2019-11-30 19:25 尘归风 阅读(131) 评论(0) 推荐(0)
摘要: 选择数据库 插入 update修改表 delete删除 select查询 阅读全文
posted @ 2019-11-29 15:58 尘归风 阅读(112) 评论(0) 推荐(0)
摘要: 数据绑定和解析 1 package main 2 3 import ( 4 "net/http" 5 6 "github.com/gin-gonic/gin" 7 ) 8 9 type Login struct { 10 User string `form: "username" json: "us 阅读全文
posted @ 2019-11-28 12:22 尘归风 阅读(243) 评论(0) 推荐(0)
摘要: 1 package main 2 3 import ( 4 "net/http" 5 6 "github.com/gin-gonic/gin" 7 ) 8 9 func main() { 10 // Creates a gin router with default middleware: 11 / 阅读全文
posted @ 2019-11-27 22:40 尘归风 阅读(394) 评论(0) 推荐(0)
摘要: 连接仓库: C:\Users\xxx>mysql -u root -pEnter password: ********* 创建仓库: mysql> create database test; 显示仓库: mysql> show databases;+ +| Database |+ +| inform 阅读全文
posted @ 2019-11-27 09:41 尘归风 阅读(78) 评论(0) 推荐(0)
摘要: 1 package main 2 3 import "github.com/gin-gonic/gin" 4 5 func main() { 6 r := gin.Default() 7 r.GET("/ping", func(c *gin.Context) { 8 c.JSON(200, gin. 阅读全文
posted @ 2019-11-26 15:49 尘归风 阅读(253) 评论(0) 推荐(0)
摘要: 在导入PyQt前加代码如下 阅读全文
posted @ 2019-11-24 22:05 尘归风 阅读(149) 评论(0) 推荐(0)
摘要: 手动安装的一些包 go get -u -v github.com/nsf/gocode go get -u -v github.com/uudashr/gopkgs/cmd/gopkgs go get -u -v github.com/ramya-rao-a/go-outline go get -u 阅读全文
posted @ 2019-11-21 16:40 尘归风 阅读(214) 评论(0) 推荐(0)
摘要: 1 #include <stdio.h> 2 #include <string.h> 3 using namespace std; 4 5 #define BEAD(i, j) beads[i * max + j] 6 7 // function to perform the above algor 阅读全文
posted @ 2019-11-20 00:47 尘归风 阅读(333) 评论(0) 推荐(0)