{"id":15470567,"url":"https://github.com/gohouse/gorosegin","last_synced_at":"2025-04-22T12:10:27.983Z","repository":{"id":57483937,"uuid":"155716632","full_name":"gohouse/goroseGin","owner":"gohouse","description":"gorose + gin demo,半小时快速上手golang web编程之用户的增删改查(示例代码)","archived":false,"fork":false,"pushed_at":"2019-11-07T01:55:25.000Z","size":55,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T15:01:33.521Z","etag":null,"topics":["gin","go-orm","go-web","golang","gorose","gorose-gin","gorose-gin-demo","orm"],"latest_commit_sha":null,"homepage":"https://segmentfault.com/a/1190000020871866","language":"HTML","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/gohouse.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}},"created_at":"2018-11-01T13:08:50.000Z","updated_at":"2024-08-17T12:44:42.000Z","dependencies_parsed_at":"2022-08-28T19:13:43.760Z","dependency_job_id":null,"html_url":"https://github.com/gohouse/goroseGin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gohouse%2FgoroseGin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gohouse%2FgoroseGin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gohouse%2FgoroseGin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gohouse%2FgoroseGin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gohouse","download_url":"https://codeload.github.com/gohouse/goroseGin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237832,"owners_count":21397401,"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","go-orm","go-web","golang","gorose","gorose-gin","gorose-gin-demo","orm"],"created_at":"2024-10-02T02:05:28.161Z","updated_at":"2025-04-22T12:10:27.933Z","avatar_url":"https://github.com/gohouse.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 半小时快速上手golang web编程之用户的增删改查(示例代码)\n博客教程页面: https://segmentfault.com/a/1190000020871866  \n在线体验地址: [http://gorose-gin.fizzday.net:8080/](http://gorose-gin.fizzday.net:8080/)  \n\n## 说明\n本实例快速实现一个用户的增删改查, 采用前后端分离模式, 后端采用`gorose orm` + `gin`框架完成api的开发, 前端使用`原生html+jquery+ajax`交互数据. \n\n## 安装和启动\n\n- 手动\n```shell script\ngit clone https://github.com/gohouse/goroseGin.git\ncd goroseGin\ngo mod tidy\ngo run main.go\n```\n\u003e 注意: 确保系统已经安装了golang运行环境和vgo,才能正常执行  \n\n- docker  \n```shell script\ndocker run -d -it --rm -p 8080:8080 ababy/gorose-gin sh -c \"go run main.go\"\n```\n\n\u003e 注意: 手动和docker, 两种方案, 二选其一即可, 建议使用docker运行, 一键运行, 不需要处理环境问题  \n\n## 运行查看效果\n\n访问 [http://localhost:8080](http://localhost:8080) ,就可以完成用户的增删改查操作了,效果图  \n![gorose-gin.png](https://i.loli.net/2019/10/31/B7wkU8XYS6OIRdH.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgohouse%2Fgorosegin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgohouse%2Fgorosegin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgohouse%2Fgorosegin/lists"}