{"id":23431719,"url":"https://github.com/angao/gin-xorm-admin","last_synced_at":"2025-04-13T00:07:47.093Z","repository":{"id":57498085,"uuid":"123379194","full_name":"angao/gin-xorm-admin","owner":"angao","description":"使用 gin 和 xorm 搭建权限管理基础框架","archived":false,"fork":false,"pushed_at":"2023-06-02T07:50:50.000Z","size":16721,"stargazers_count":72,"open_issues_count":0,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-13T00:07:32.587Z","etag":null,"topics":["gin","golang","mysql","xorm","xormplus"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-03-01T03:51:30.000Z","updated_at":"2025-01-29T14:53:46.000Z","dependencies_parsed_at":"2024-06-20T18:49:14.453Z","dependency_job_id":"e63062a2-82e4-4fad-8705-d8eb5c96a9ba","html_url":"https://github.com/angao/gin-xorm-admin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angao%2Fgin-xorm-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angao%2Fgin-xorm-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angao%2Fgin-xorm-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angao%2Fgin-xorm-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angao","download_url":"https://codeload.github.com/angao/gin-xorm-admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647301,"owners_count":21139086,"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":["gin","golang","mysql","xorm","xormplus"],"created_at":"2024-12-23T10:39:49.717Z","updated_at":"2025-04-13T00:07:47.073Z","avatar_url":"https://github.com/angao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 说明\n\n_此项目只是用来熟悉gin和xorm，所以如果出现使用错误或者其他错误，还请提issue说明，看到我会及时回复！_\n\n## 功能\n\n由于本人前端技术比较菜，所以本项目中的模板页面是从开源项目 [Guns](https://gitee.com/naan1993/guns) 中抽离的，Guns 是个Java项目，模板引擎使用的是 `beetl` ，gin是无法渲染的，所以将 `beetl` 页面改成了HTML页面，中间难免有错误还请见谅！\n\n本项目用到的技术栈：`gin`, `xorm`, `xormplus`，数据库是MySQL。\n\n主要功能也是参考 Guns 项目，当然没有那么丰富，包括用户登录，用户角色管理，权限分配，部门管理等等\n\n## 启动\n\n\u003e 默认登录用户名和密码： `admin/111111`, `boss/111111`\n\n1、将sql目录下的gin.sql在MySQL中执行\n\n2、直接执行 `main.go` 启动项目，main函数中定义了默认的端口3000，可以按照需求自己改\n\n3、如果执行了 `go install` ，也可以通过二进制执行 `./gin-xorm-admin` , 可以在后面跟上参数 `--port` 可以修改默认端口\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangao%2Fgin-xorm-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangao%2Fgin-xorm-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangao%2Fgin-xorm-admin/lists"}