摘要:
尝试了下,在go环境ready的情况下,花了2分钟完成了beego安装、项目生成和启动,效率还是不错的 1、安装: go get github.com/astaxie/beego go get github.com/beego/bee 2、生成项目结构: bee new hellpGolang 3、 阅读全文
posted @ 2017-12-05 20:45
蛋尼
阅读(317)
评论(0)
推荐(0)
摘要:
goLang的mysql操作,大致可分为三个步骤: 1、下载mysql驱动:go get github.com/go-sql-driver/mysql 2、建立连接:sql.Open("mysql", "root:@tcp(127.0.0.1:3306)/test?charset=utf8") 3、 阅读全文
posted @ 2017-12-05 19:44
蛋尼
阅读(232)
评论(0)
推荐(0)
摘要:
server.go client.go 原文:https://studygolang.com/articles/11796 阅读全文
posted @ 2017-12-05 17:37
蛋尼
阅读(255)
评论(0)
推荐(0)
摘要:
idea是支持N多种编程语言的,想要idea支持goLang,安装相应的插件即可 Intellij IDEA安装golang插件 阅读全文
posted @ 2017-12-05 16:35
蛋尼
阅读(2795)
评论(0)
推荐(0)