Sakura

sakura

博客园 首页 新随笔 联系 订阅 管理

2022年6月21日 #

摘要: vscode 配置运行redis 参考视频教程 https://github.com/wenfh2020/youtobe/blob/master/redis-debug.md https://wenfh2020.com/2020/01/05/redis-gdb/ 我的配置 { // See http 阅读全文
posted @ 2022-06-21 14:59 .geek 阅读(495) 评论(0) 推荐(0) 编辑

摘要: vscode 配置 c,c++ debug 运行环境 这里我们要配置 tasks.json ,最好搞一个模板 ctrl shift + p, 打开 open user tasks { // See https://go.microsoft.com/fwlink/?LinkId=733558 // f 阅读全文
posted @ 2022-06-21 14:25 .geek 阅读(307) 评论(0) 推荐(0) 编辑

摘要: vscode 调试golang配置 { // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "co 阅读全文
posted @ 2022-06-21 13:37 .geek 阅读(344) 评论(0) 推荐(1) 编辑

摘要: docker 分段构建 参考教程 # Go语言环境基础镜像 FROM golang:latest # 将源码拷贝到镜像中 COPY server.go /go/release/ # 指定工作目录 WORKDIR /go/release # 编译镜像时,运行 go build 编译生成 app 可执行 阅读全文
posted @ 2022-06-21 00:38 .geek 阅读(176) 评论(0) 推荐(0) 编辑