{"id":16935256,"url":"https://github.com/codeskyblue/gogen","last_synced_at":"2026-05-08T08:31:16.416Z","repository":{"id":12425777,"uuid":"15081094","full_name":"codeskyblue/gogen","owner":"codeskyblue","description":"study project. like rails, this is named gails. for quickly golang web develop.","archived":false,"fork":false,"pushed_at":"2014-03-19T03:10:09.000Z","size":207,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T04:30:29.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeskyblue.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}},"created_at":"2013-12-10T15:33:11.000Z","updated_at":"2014-04-13T15:19:19.000Z","dependencies_parsed_at":"2022-09-10T22:40:29.738Z","dependency_job_id":null,"html_url":"https://github.com/codeskyblue/gogen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeskyblue/gogen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fgogen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fgogen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fgogen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fgogen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeskyblue","download_url":"https://codeload.github.com/codeskyblue/gogen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fgogen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32772847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-10-13T20:54:05.059Z","updated_at":"2026-05-08T08:31:16.400Z","avatar_url":"https://github.com/codeskyblue.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"gails\n=====\n\nbeego + xorm skeleton, for quickly REST-API develop.\n\n## how to use\n\tgo get github.com/shxsun/gails\n\n\tcd $GOPATH/src/\n\tmkdir test; cd test\n\tgails book name:string\n\n\t# create table user with column name,school\n\tgails user name:string school:string\n\n\t# start program\n\tbee run\n\n### how to use this api\n\tcurl localhost:8080/api/book/new -d name=parkour\n\tcurl localhost:8080/api/book/all\n\n## only work well on linux, mac\nEven through I test on my machine for many times, but it is better to backup your code, before you use it.\n\n## how to make a template\ndefault template address is in \u003chttps://github.com/shxsun/gails-default\u003e\n\n* lines contails `XXXX` will be deleted.\n* chars before `NNNN` will be deleted also include `NNNN` itself.\n* use golang default `text/template`\n\nA yaml file is needed. content is like\n\n\tnotice: |\n\t\tThis template is created by skyblue. in 2014/03/15\n\t\tYou need to change setting in conf/app.conf,\n\t\tAnd create a mysql database before you use -bee run- to start it.\n\tfile-rename:\n\t  user_router.go: \"{{.Table}}_router.go\"\n\t  controllers/user.go: controllers/{{.Table}}.go\n\t  models/user.go: models/{{.Table}}.go\n\tstring-rename:\n\t  User: \"{{.Table|title}}\"\n\n`title` is default function, which convert word `name` to `Name`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Fgogen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeskyblue%2Fgogen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Fgogen/lists"}