随笔 - 151
文章 - 0
评论 - 117
阅读 -
108万
08 2024 档案
从0-1用go实现后端接口
摘要:下面我们将从零开始实现一个简单的 Go 后端接口。这个接口将使用 mux 库来处理路由,并提供一个基本的 RESTful API。 1. 安装必要的库 首先,确保已经安装了 mux 库。如果没有安装,可以使用以下命令安装: go get -u github.com/gorilla/mux 2. 创建
阅读全文
go: command not found Build step 'Execute shell' marked build as failure
摘要:问题场景: jenkins构建go项目,执行shell脚本时报错: go: command not found Build step 'Execute shell' marked build as failure Finished: FAILURE 报错解释: 这个错误表明在构建过程中,执行的she
阅读全文
remote: Support for password authentication was removed on August 13, 2021.
摘要:报错如下图: remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/get-started/getting-star
阅读全文