2019年2月16日
摘要: vscode安装dlv插件报错:There is no tracking information for the current branch. https://blog.csdn.net/a785975139/article/details/80874792 https://blog.csdn.n 阅读全文
posted @ 2019-02-16 18:15 <Hbw> 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: 1.入口,go有且只有一个入口函数,就是main函数 liteide (IDE)的 一个工程(文件夹)只能有且只有一个main函数 2. 调用函数 golang语言特性 1. 垃圾回收 a. 内存自动回收,再也不需要开发人员管理内存 b. 开发人员专注业务实现,降低了心智负担 c. 只需要new分配 阅读全文
posted @ 2019-02-16 15:48 <Hbw> 阅读(619) 评论(0) 推荐(0) 编辑
摘要: vscode安装设置go vscode安装设置go vscode安装设置go vscode安装设置go vscode安装go配置 1、下载最新的vscode: https://code.visualstudio.com/docs/?dv=win 2、下载go: https://golang.org/ 阅读全文
posted @ 2019-02-16 14:40 <Hbw> 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: Go开发环境搭建 参考: GO语言下载、安装、配置 1. 安装Go a. 打开网址https://golang.org/dl/ b. 根据操作系统选择对应的安装包 c. 点击安装包进行安装(linux直接解压) d. 设置环境变量(linux) 1. export GOROOT=$PATH:/pat 阅读全文
posted @ 2019-02-16 14:39 <Hbw> 阅读(256) 评论(0) 推荐(0) 编辑