{"id":21008111,"url":"https://github.com/lflxp/beegoadmin","last_synced_at":"2026-02-12T09:02:36.513Z","repository":{"id":150080592,"uuid":"121210782","full_name":"lflxp/beegoadmin","owner":"lflxp","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-14T02:19:06.000Z","size":6704,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T01:53:48.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smarty","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/lflxp.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2018-02-12T06:47:54.000Z","updated_at":"2018-03-14T02:19:07.000Z","dependencies_parsed_at":"2023-06-05T03:00:08.484Z","dependency_job_id":null,"html_url":"https://github.com/lflxp/beegoadmin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lflxp/beegoadmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fbeegoadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fbeegoadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fbeegoadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fbeegoadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lflxp","download_url":"https://codeload.github.com/lflxp/beegoadmin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fbeegoadmin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-19T09:11:32.608Z","updated_at":"2026-02-12T09:02:36.496Z","avatar_url":"https://github.com/lflxp.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"############\nbeegoadmin\n############\n\n.. contents:: 目录\n\n介绍\n====\n\nbeegoadmin 使用bootstrap3作为前端页面框架 模仿django admin界面进行数据的CRUD\n\n功能模块\n=======\n\n- 主页面表展示\n\n界面展示\n-------\n\n.. image:: img/1.png\n\n- 表数据查询\n\n表数据查询\n---------\n\n.. image:: img/2.png\n\n- 表数据删除、添加、修改\n\n数据增删改\n---------\n\n.. image:: img/3.png\n\n特点\n====\n\n- 自动注册model进行数据解析和界面动态生成\n\n注册model代码::\n\npackage models\n\nimport (\n\t\"time\"\n\t. \"github.com/lflxp/beegoadmin/models\"\n)\n\nfunc init() {\n\tRegister(new(Vpn), new(Cdn))\n}\n\ntype Vpn struct {\n\tId   int64  `xorm:\"id notnull unique pk autoincr\" name:\"id\"`\n\tVpn  string `xorm:\"vpn\" name:\"vpn\" verbose_name:\"Vpn字段测试\" list:\"true\" search:\"true\"`\n\tName string `xorm:\"name\" name:\"name\" verbose_name:\"姓名\" list:\"true\" search:\"false\"`\n\tIp   string `xorm:\"ip\" name:\"ip\" verbose_name:\"ip信息\" list:\"true\" search:\"false\"`\n}\n\ntype Cdn struct {\n\tId           int64     `xorm:\"id pk not null autoincr\" name:\"id\" search:\"true\"`\n\tNum          int64     `xorm:\"num\" verbose_name:\"数字\" name:\"num\" colType:\"int\" list:\"true\" search:\"true\"`\n\tCdn_name     string    `xorm:\"cdn_name\" name:\"cdn_name\" verbose_name:\"cdn的名称\" search:\"true\"`\n\tType         string    `xorm:\"type\" name:\"type\" verbose_name:\"类型\" search:\"false\" colType:\"textarea\"`\n\tDetail       string    `xorm:\"detail\" name:\"detail\" verbose_name:\"VPN信息\" list:\"false\" search:\"false\" o2m:\"vpn|id,vpn\" colType:\"o2m\"`\n\tRadio        string    `xorm:\"raidodas\" name:\"raidodas\" verbose_name:\"Radio单选\" list:\"true\" search:\"false\" colType:\"radio\" radio:\"男|man,女|girl,人妖|none\"`\n\tSelect       string    `xorm:\"ss\" name:\"ss\" verbose_name:\"Select单选固定\" list:\"true\" search:\"false\" colType:\"select\" select:\"男11111111111111111111111111|man,女|girl,人妖|none\"`\n\tMultiSelect  string    `xorm:\"ss1\" name:\"ss1\" verbose_name:\"Multiselect多选\" list:\"true\" search:\"false\" colType:\"multiselect\" multiselect:\"男|man,女|girl,人妖|none,中|zhong,国|guo,人|ren,重|chong,Qing|qing\"`\n\tMultiSelect2 string    `xorm:\"ss2\" name:\"ss2\" verbose_name:\"Multiselect多选\" list:\"true\" search:\"false\" colType:\"multiselect\" multiselect:\"男|man,女|girl,人妖|none,中|zhong,国|guo,人|ren,重|chong,Qing|qing\"`\n\tFiles        string    `xorm:\"file\" name:\"file\" verbose_name:\"cdn的名称\" search:\"true\" colType:\"file\"`\n\tTimes        time.Time `xorm:\"times\" name:\"times\" verbose_name:\"时间\" list:\"true\" search:\"true\"`\n\tCreate       time.Time `xorm:\"created\"` //这个Field将在Insert时自动赋值为当前时间\n\tUpdate       time.Time `xorm:\"updated\"` //这个Field将在Insert或Update时自动赋值为当前时间\n}\n\n- 标记注释字段类型\n\nmodels 标记tag\n--------------\n\n==============  ========  ===============================================================================\nTag             解释       标记\n==============  ========  ===============================================================================\nname            字段名    \nverbose_name    昵称\nlist            显示字段\nsearch          搜索\ncolType         字段类型\nradio           单选       adio:\"男|man,女|girl,人妖|none\"\nmultiselect     多选       multiselect:\"男|man,女|girl,人妖|none,中|zhong,国|guo,人|ren,重|chong,Qing|qing\"\nselect          单选       select:\"男|man,女|girl,人妖|none\"\n==============  ========  ===============================================================================\n\ncolType内容-\u003e input[html]\n-------------------------\n\n============   ======  ========\nTag            解释     案例\n============   ======  ========\nstring         字符串   text\nint            数字     number\nfile           文件     Files\ntextarea       文本     textarea\nradio          单选     radio\nm2m            多对多    -\no2m            一对多    -\no2o            一对一    外键\ntime           时间      -\nselect         单选     select\nmultiselect    多选     -\npassword       密码     password\n============   ======  ========\n\n- 提供常用input数据类型\n- 支持数据库一对一、一对多、多对多的数据展示和存储\n\n待开发\n=====\n\n- 用户登录\n- 用户管理\n- 权限管理\n- 操作历史记录\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flflxp%2Fbeegoadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flflxp%2Fbeegoadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flflxp%2Fbeegoadmin/lists"}