Inspired by go-gin-api. about some other resource gin framework ,moose-go
go run github.com/singcl/gin-taro-api -env pro
-- root 用户登录
sudo mysql
-- 创建数据库
CREATE DATABASE gin_taro_api DEFAULT CHARACTER SET = 'utf8mb4';
/* 为远程用户授权 */
GRANT ALL PRIVILEGES ON gin_taro_api.* TO 'taro'@'127.0.0.1' WITH GRANT OPTION;
告警邮件发送调试通过 SUCCESS😇
在 vscode 中调试应用程序
相关参考文档
# https://github.com/golang/vscode-go/blob/master/docs/debugging.md
# https://code.visualstudio.com/docs/languages/go#_debugging
# https://juejin.cn/post/6844904087763304462
- 手动安装
delve
Go debugger
# Install the latest release:
$ go install github.com/go-delve/delve/cmd/dlv@latest
- 配置 launch.json
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// https://github.com/golang/vscode-go/blob/master/docs/debugging.md
// https://code.visualstudio.com/docs/languages/go#_debugging
// https://juejin.cn/post/6844904087763304462
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}"
}
]
}
project changelog is hear.use git-chaglog auto generate changelog.
# 安装
go install -v github.com/git-chglog/git-chglog/cmd/git-chglog@latest
# git-chglog requires configuration files and templates to generate a CHANGELOG
# However, it is a waste of time to create configuration files and templates from scratch.
# Therefore we recommend using the --init option which will create them interactively 👍
git-chglog --init
# You are now ready for configuration files and templates!
# Let's immediately generate a CHANGELOG of your project. By doing the following simple command, Markdown for your CHANGELOG is displayed on stdout.
git-chglog
# Use -o (--output) option if you want to output to a file instead of stdout.
git-chglog -o CHANGELOG.md
预览 | 预览 |
---|---|
# server
cd /usr/local/frp
./frps -c ./frps.ini
# client windows
./frpc.exe -c ./frpc.ini
# url
https://frps.imcoco.top