{"id":19136956,"url":"https://github.com/singcl/gin-taro-api","last_synced_at":"2025-11-13T13:03:31.740Z","repository":{"id":37317423,"uuid":"500382849","full_name":"singcl/gin-taro-api","owner":"singcl","description":"Wonderful Web API service backend.","archived":false,"fork":false,"pushed_at":"2023-03-09T16:54:15.000Z","size":8068,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T13:17:58.424Z","etag":null,"topics":["api","go","golang","vue3","vue3-composition-api"],"latest_commit_sha":null,"homepage":"https://wx.imcoco.top","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/singcl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"singcl"}},"created_at":"2022-06-06T10:11:26.000Z","updated_at":"2024-01-12T18:31:32.000Z","dependencies_parsed_at":"2024-06-21T02:26:28.909Z","dependency_job_id":null,"html_url":"https://github.com/singcl/gin-taro-api","commit_stats":{"total_commits":401,"total_committers":2,"mean_commits":200.5,"dds":0.004987531172069848,"last_synced_commit":"e213266d9d5d82715c6a6a6ba37520ceda0ba6e7"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fgin-taro-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fgin-taro-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fgin-taro-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fgin-taro-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singcl","download_url":"https://codeload.github.com/singcl/gin-taro-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240215478,"owners_count":19766423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","go","golang","vue3","vue3-composition-api"],"created_at":"2024-11-09T06:35:58.026Z","updated_at":"2025-11-13T13:03:26.701Z","avatar_url":"https://github.com/singcl.png","language":"Go","funding_links":["https://github.com/sponsors/singcl"],"categories":[],"sub_categories":[],"readme":"![gin-taro-api](./imgs/20220609102431.jpg)\n\n[![Build workflow](https://github.com/singcl/gin-taro-api/actions/workflows/build.yml/badge.svg)](https://docs.github.com/cn/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits\u0026logoColor=white)](https://conventionalcommits.org)\n\n# GIN-TARO-API\n\nInspired by [go-gin-api](https://github.com/xinliangnote/go-gin-api). about some other resource [gin framework](https://gin-gonic.com/zh-cn/docs/quickstart/)\n,[moose-go](https://gitee.com/shizidada/moose-go)\n\n## Start\n\ngo run github.com/singcl/gin-taro-api -env pro\n\n## mysql\n\n```sql\n-- root 用户登录\nsudo mysql\n-- 创建数据库\nCREATE DATABASE gin_taro_api DEFAULT CHARACTER SET = 'utf8mb4';\n/* 为远程用户授权 */\nGRANT ALL PRIVILEGES ON gin_taro_api.* TO 'taro'@'127.0.0.1' WITH GRANT OPTION;\n```\n\n## Mail\n\n告警邮件发送调试通过 SUCCESS😇\n\n## Debug\n\n在 vscode 中调试应用程序\n\n相关参考文档\n\n```sh\n  # https://github.com/golang/vscode-go/blob/master/docs/debugging.md\n  # https://code.visualstudio.com/docs/languages/go#_debugging\n  # https://juejin.cn/post/6844904087763304462\n```\n\n1. 手动安装`delve` Go debugger\n\n```sh\n# Install the latest release:\n$ go install github.com/go-delve/delve/cmd/dlv@latest\n\n```\n\n2. 配置 launch.json\n\n```js\n// Use IntelliSense to learn about possible attributes.\n// Hover to view descriptions of existing attributes.\n// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387\n// https://github.com/golang/vscode-go/blob/master/docs/debugging.md\n// https://code.visualstudio.com/docs/languages/go#_debugging\n// https://juejin.cn/post/6844904087763304462\n```\n\n```json\n{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"name\": \"Launch Package\",\n      \"type\": \"go\",\n      \"request\": \"launch\",\n      \"mode\": \"auto\",\n      \"program\": \"${workspaceFolder}\"\n    }\n  ]\n}\n```\n\n## 微信小程序登陆核心代码片段\n\n[小程序登陆](./Wx.md)\n\n## CHANGELOG\n\nproject [changelog](./CHANGELOG.md) is hear.use [git-chaglog](https://github.com/git-chglog/git-chglog) auto generate changelog.\n\n```sh\n\n# 安装\ngo install -v github.com/git-chglog/git-chglog/cmd/git-chglog@latest\n\n# git-chglog requires configuration files and templates to generate a CHANGELOG\n# However, it is a waste of time to create configuration files and templates from scratch.\n# Therefore we recommend using the --init option which will create them interactively 👍\ngit-chglog --init\n\n# You are now ready for configuration files and templates!\n# Let's immediately generate a CHANGELOG of your project. By doing the following simple command, Markdown for your CHANGELOG is displayed on stdout.\ngit-chglog\n\n# Use -o (--output) option if you want to output to a file instead of stdout.\ngit-chglog -o CHANGELOG.md\n\n```\n\n## 管理界面\n\n|                   预览                    |                  预览                  |\n| :---------------------------------------: | :------------------------------------: |\n|  ![授权列表](./imgs/authorized_list.png)  | ![新增授权](./imgs/authorized_add.png) |\n| ![授权详情](./imgs/authorized_detail.png) |   ![登录](./imgs/login.png)   |\n\n\n## 开启内网穿透\n```sh\n# server\ncd /usr/local/frp\n ./frps -c ./frps.ini\n\n # client windows\n ./frpc.exe -c ./frpc.ini\n\n # url\n https://frps.imcoco.top\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingcl%2Fgin-taro-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsingcl%2Fgin-taro-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingcl%2Fgin-taro-api/lists"}