Go 异常 + Error

一、Go异常

1、【unable to access 'https://github.com/用户名/仓库名.git/': SSL certificate problem 解决的问题】

Go 复制代码
D:\GIT_workspace\go-valet-driving-system\backend>kratos new verifyCode
🚀 Creating service verifyCode, layout repo is https://github.com/go-kratos/kratos-layout.git, please wait a moment.

Cloning into 'C:\Users\Administrator\.kratos\repo\github.com\go-kratos/kratos-layout@main'...
fatal: unable to access 'https://github.com/go-kratos/kratos-layout.git/': SSL certificate problem: unable to get local issuer certificate

[31mERROR: Failed to create project(exit status 128)[m

服务器不能识别git的SSL证书,操作停止执行

解决方式:

Go 复制代码
$ git config --global http.sslVerify false

干我们这行,啥时候懈怠,就意味着长进的停止,长进的停止就意味着被淘汰,只能往前冲,直到凤凰涅槃的一天!

相关推荐
RPGMZ18 小时前
RPGMZ游戏引擎 一个窗口 文本居中显示
开发语言·javascript·游戏引擎·rpgmz
庞轩px1 天前
第七篇:Spring扩展点——如何优雅地介入Bean的创建流程
java·后端·spring·bean·aware·扩展点
ltl1 天前
Q/K/V 三件套:把 Bahdanau 抽象成一个公式
后端
代钦塔拉1 天前
Qt4 vs Qt5 带参数信号槽的连接方式详解
开发语言·数据库·qt
千叶风行1 天前
Text-to-SQL 技术设计与注意事项
前端·人工智能·后端
InfinteJustice1 天前
踩坑分享C 语言文件操作全攻略:从基础读写到随机访问与缓冲区原理
c语言·开发语言·microsoft
码云数智-大飞1 天前
滥用Lombok的@EqualsAndHashCode导致线上事故复盘
开发语言
yong99901 天前
C# 实时查看硬件使用率(CPU 内存 硬盘 网络)
开发语言·网络·c#
不午休の野猫1 天前
vs + qt环境编译.sln项目时报无法解析的外部符号metaObject && qt_metacast
开发语言·qt
阿kun要赚马内1 天前
后端数据操作组合:Pydantic与ORM
后端·python·orm·sqlalchemy