logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vscode运行配置launch.json

{// 使用 IntelliSense 了解相关属性。// 悬停以查看现有属性的描述。// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [{// 自定义,名字,看起来有意义就行,用来给你选的;"name": "test_local_dev",

文章图片
#vscode#ide
windows下docker挂载目录格式

docker run --rm -v D:\xx\go\go1\src\wrap\traefik\webui\static\:/src/webui/static traefik-webui yarn build:nc

#容器
git报错fatal: could not read Username for ‘https://git.xxx.cn‘: terminal prompts disabled Confirm

export GIT_TERMINAL_PROMPT=1 # 报错是因为没登录,设置这个后,会提示登录

#git#github
go包sarama 连接kafka

package resourceimport ("context""fmt""ms_web/configs""github.com/Shopify/sarama")type Kafka struct{client sarama.SyncProducerTopic string}func NewKafka(ctx context.Context, conf *configs.Config) (*Ka

#容器#mysql#数据库
到底了