自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Mac:添加PATH变量 vs /.bash_profile: command not found

第一步:创建.bash_profile文件,~表示在~目录下,.表示隐藏文件,打开终端,输入命令如下。export PATH=$PATH:添加要加入PATH的变量。command + s保存文件.

2023-10-16 19:40:28 366

原创 Mac:cannot call GetTrip: rpc error: code = Unavailable desc = connection error: desc = “transport: E

添加如下语句:defer conn.Close()生成conn之后,一定要defer关闭conn。

2023-10-12 18:57:29 258

原创 Mac : protoc-gen-go-grpc: program not found or is not executable

【代码】Mac : protoc-gen-go-grpc: program not found or is not executable。

2023-10-11 18:26:30 284

原创 MAC:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

mac: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 错误提示!等待几分钟,安装完成之后,重新安装即可。

2023-10-05 15:25:48 424

原创 Get https://sum.golang.org/lookup/xxxxxx: dial tcp 2 i/o timeout---错误解决

dial tcp 216.58.200.49:443: i/o timeout,则是因为Go 1.13设置了默认的GOSUMDB=可以设置 GOSUMDB="sum.golang.google.cn", 这个是专门为国内提供的sum 验证服务。-w 标记 要求一个或多个形式为 NAME=VALUE 的参数, 并且覆盖默认的设置。在Go 1.13中,我们可以通过GOPROXY来控制代理。如果在运行go mod vendor时,提示Get。私有仓库自动忽略验证。

2023-10-05 12:02:08 34

原创 vscode 报错package xxx is not in GOROOT(path) 或者go: to add module requirements and sums: go mod tidy

vscode 报错package xxx is not in GOROOT(path) 或者go: to add module requirements and sums: go mod tidy 或者 gopls requires a module at the root of your workspace

2022-07-02 14:02:17 3296 1

原创 MySQL安装与配置

具体安装与配置参考下面链接https://www.cnblogs.com/mysqlanzhuang/p/13336212.htmlMySQL配置时出现的bugmysqld: Can't create directory 'D: oftwares\mysql\mysql-8.0.21-winx64\data\' (OS errno 2 - No such file or directory)2020-07-20T08:16:23.069050Z 0 [System] [MY-013169] [

2020-07-20 17:03:07 896

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除