# golang to do **Repository Path**: qylab/golang-to-do ## Basic Information - **Project Name**: golang to do - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-28 - **Last Updated**: 2025-06-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: Go语言, MySQL, JWT, Gin ## README 打包 ``` set GOOS=linux set GOARCH=amd64 set CGO_ENABLED=0 go build -ldflags="-s -w" -o ocr .\main.go ``` 部署 ``` # 赋予执行权限 chmod +x myapp-linux-amd64 # 后台运行 nohup ./myapp-linux-amd64 & # 查看日志 tail -f nohup.out ```