{"id":24108213,"url":"https://github.com/starter-kit-fe/backend","last_synced_at":"2025-09-16T09:56:54.637Z","repository":{"id":271866183,"uuid":"912891583","full_name":"starter-kit-fe/backend","owner":"starter-kit-fe","description":"管理后台GO语言模版","archived":false,"fork":false,"pushed_at":"2025-04-25T11:31:45.000Z","size":12185,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-18T07:27:26.235Z","etag":null,"topics":["gin","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starter-kit-fe.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2025-01-06T15:54:15.000Z","updated_at":"2025-04-25T11:31:48.000Z","dependencies_parsed_at":"2025-02-12T12:33:38.104Z","dependency_job_id":"ffefcfa8-3003-4d92-8392-1f10c380deb5","html_url":"https://github.com/starter-kit-fe/backend","commit_stats":null,"previous_names":["starter-kit-fe/backend"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/starter-kit-fe/backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starter-kit-fe%2Fbackend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starter-kit-fe%2Fbackend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starter-kit-fe%2Fbackend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starter-kit-fe%2Fbackend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starter-kit-fe","download_url":"https://codeload.github.com/starter-kit-fe/backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starter-kit-fe%2Fbackend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275399539,"owners_count":25457779,"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","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gin","go"],"created_at":"2025-01-10T23:26:28.008Z","updated_at":"2025-09-16T09:56:54.562Z","avatar_url":"https://github.com/starter-kit-fe.png","language":"Go","readme":"# admin \n\nweb api\n\n## 目录结构\n\n以下是项目的目录结构及其说明：\n\n```\nproject-root/\n├── cmd/                    # 应用程序入口\n│   └── main.go             # 主启动文件\n├── config/                 # 配置文件\n│   └── config.go           # 配置加载和管理\n├── internal/               # 私有应用程序代码\n│   ├── domain/             # 领域模型/实体\n│   │   └── user.go         # 用户实体定义\n│   ├── repository/         # 数据访问层\n│   │   └── user_repository.go # 用户数据操作接口及实现\n│   ├── service/            # 业务逻辑层\n│   │   └── user_service.go # 用户服务层，处理业务逻辑\n│   ├── handler/            # HTTP处理层(控制器)\n│   │   └── user_handler.go # 用户相关HTTP请求处理\n│   ├── middleware/         # 中间件\n│   │   └── auth.go         # 认证授权中间件\n│   └── dto/                # 数据传输对象\n│       └── user_dto.go     # 用户DTO，用于API输入输出的数据转换\n├── pkg/                    # 可以被外部应用程序使用的库代码\n│   ├── utils/              # 工具类库\n│   └── errors/             # 自定义错误处理\n├── api/                    # API文档\n│   └── swagger/            # Swagger/OpenAPI规范文档\n├── docs/                   # 项目文档\n├── test/                   # 测试文件\n├── scripts/                # 脚本文件，如部署脚本等\n├── go.mod                  # Go模块依赖文件\n└── go.sum                  # Go模块校验文件\n```\n\n## 快速开始\n\n### 安装依赖\n\n确保你已经安装了 Go 环境。然后运行以下命令来安装项目依赖：\n\n```bash\ngo mod download\n```\n\n### 运行项目\n\n运行项目前，请确保所有配置文件已正确设置。然后执行以下命令启动项目：\n\n```bash\nmake dev\n```\n\n### 构建项目\n\n要构建项目，可以使用以下命令：\n\n```bash\nmake build\n```\n\n这将生成一个名为 `admin` 的可执行文件。\n\n### 运行测试\n\n项目包含了一些单元测试和集成测试。要运行这些测试，可以使用：\n\n```bash\ngo test ./...\n```\n\n## 文档\nhttps://apifox.com/apidoc/shared-66d8bf61-f515-4fa0-8ea0-2c81068aed01\n\n## 贡献\n\n欢迎贡献！请先阅读 [贡献指南](CONTRIBUTING.md)，了解如何参与项目开发。\n\n## 许可证\n\n本项目采用 MIT 许可证，详情见 [LICENSE](LICENSE) 文件。\n\n---\n\nbash \u003c(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') --ip-addr 10.140.0.5 --ip-gate 10.140.0.1 --ip-mask 255.255.255.0 -d 12 -v 64 -p a6WyfFw0v3ShfK6PL3XPJQ== -port 22 ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarter-kit-fe%2Fbackend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarter-kit-fe%2Fbackend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarter-kit-fe%2Fbackend/lists"}