MAC环境下使用go在VScode上编写menu

m0_62395097 2022-03-23 15:00:13

在github上建立仓库

使用git clone https://github.com/hoay123/menu.git 将仓库克隆到本地

配置go环境

安装go:brew install go

检查go在本机上的配置验证是否安装成功

在VScode中配置go插件

编写menu

新建menu.go,编写简单的menu程序

用go run指令运行,结果正确

上传到github

 

 下载github拓展工具,在VScode中登录github账号

使用git add .

git commit -m "first commit"

git push -u origin main

将代码push到github仓库中

 

 打开github仓库检查

作者 413 

 

 

 

...全文
86 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

571

社区成员

发帖
与我相关
我的任务
社区描述
软件工程教学新范式,强化专项技能训练+基于项目的学习PBL。Git仓库:https://gitee.com/mengning997/se
软件工程 高校
社区管理员
  • 码农孟宁
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧