摘要:https://www.jianshu.com/p/033fe2518476
阅读全文
07 2020 档案
摘要:https://www.jianshu.com/p/033fe2518476
阅读全文
摘要:基本上你的formatOnSave是开启的,这导致了这个问题。 要禁用它,请转到命令选项板(Ctrl + Shift + P)并键入“配置语言特定设置”并查找Go。 您现在应该看到一个json文件,您可以在其中将以下设置添加到json文件: “editor.formatOnSave”:false。
阅读全文
摘要:实现功能 1.查看broker地址和controller。 2.查看topic列表,每个topic分区个数,每个topic可消费消息个数。 3.查看topic下前200个消息内容,消息offset,消息所在分区。 源代码地址和Demo见: xiaof-github/kafdrop-go
阅读全文
摘要:参考: https://abelsu7.top/2019/09/06/gopls-guide/ 点击go插件extensions settings, 打开.vscode/settings.json, 需要打开以下开关,支持本地包自动补全 "deepCompletion": true, "matche
阅读全文
摘要:golang中json和struct的使用1、返回json响应结果在struct的字段后面加入json:"key"可以进行json格式输出,其中key为json的键名 type SuccessResponse struct { Code int `json:"code"` Msg string `j
阅读全文
摘要:现象 执行go get github.com/tealeg/xlsx 失败 go: extracting github.com/tealeg/xlsx v1.0.5 go get: rename golang\pkg\mod\github.com\tealeg\xlsx@v1.0.5.tmp-895
阅读全文
摘要:右键添加Git Bash Here第一步,window + R,输入regedit回车进入注册表依次进入HKEY_CLASSES_ROOT —-》 Directory —-》Background —-》 shell右键点击shell,选择新建,然后选择项,命名为 Git Bash Here,成功后进
阅读全文
|