
Go
Maybe I Simple
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
BeeGo
1、安装beego(有可能失败多试几次)go get github.com/astaxie/beego1.1、git https 无法获取,请配置本地的 git,关闭 https 验证:git config --global http.sslVerify false1.2、升级1.2.1、命令行升级go get -u github.com/astaxie/beego1.2.2、访问https://github.com/astaxie/beego,下载源码,然后覆盖...原创 2022-04-01 17:25:39 · 297 阅读 · 0 评论 -
Golang 数据库 “增、删、改、查”
1、增func insert() { db1, err := sql.Open("mysql", "root:root@tcp(127.0.0.1:3306)/cy?parseTime=true") if err != nil{ fmt.Println(err) } defer db1.Close() stmt, err := db1.Prepare("insert into person(user_id,username,sex,email)value (?,?,?,?)") res原创 2022-01-10 11:11:35 · 579 阅读 · 0 评论