
开发工具
atopx
一个真正热爱编程且具有极客精神的程序猿,python、golang、rust
展开
-
go Makefile Example
Makefile -include .env BUILD_DIR=$(shell pwd) # Setup the -ldflags option for go build here, interpolate the variable values LDFLAGS = -ldflags "-s -w" ## install: Compile the binary. install: @echo " > Building binary..." @cd ${BUILD_DIR}; \原创 2021-08-25 16:47:36 · 205 阅读 · 0 评论 -
go发布celery任务(RabbitMQ)
package main import ( "encoding/json" "fmt" uuid "github.com/satori/go.uuid" "github.com/streadway/amqp" ) // CeleryTask 任务模型 type CeleryTask struct { Queue string TaskName string Args []interface{} Kwargs map[string]interface{} } // Ne原创 2021-08-12 17:29:14 · 1624 阅读 · 1 评论 -
Win10设置gitbash为vscode默认terminal
{ "terminal.integrated.profiles.windows": { "PowerShell": { "source": "PowerShell", "icon": "terminal-powershell" }, "Command Prompt": { "path": [ "${env:windir}\\Sysnative\\cm原创 2021-08-12 17:19:47 · 342 阅读 · 0 评论