{"id":20724077,"url":"https://github.com/jerray/gopress-kick-starter","last_synced_at":"2026-04-25T07:32:21.988Z","repository":{"id":140081705,"uuid":"102108048","full_name":"jerray/gopress-kick-starter","owner":"jerray","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-21T13:28:14.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T19:11:53.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/jerray.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}},"created_at":"2017-09-01T11:54:21.000Z","updated_at":"2019-10-30T02:58:55.000Z","dependencies_parsed_at":"2024-03-31T00:15:42.527Z","dependency_job_id":null,"html_url":"https://github.com/jerray/gopress-kick-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jerray/gopress-kick-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerray%2Fgopress-kick-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerray%2Fgopress-kick-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerray%2Fgopress-kick-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerray%2Fgopress-kick-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerray","download_url":"https://codeload.github.com/jerray/gopress-kick-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerray%2Fgopress-kick-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32254551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"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-11-17T04:12:09.286Z","updated_at":"2026-04-25T07:32:21.983Z","avatar_url":"https://github.com/jerray.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gopress-kick-starter\n\ngopress kick starter\n\n## Web项目目录结构\n\n以下是使用该框架时推荐的项目目录结构。\n\n```\nroot\n  |- models\n       |- user.go\n       |- post.go\n  |- controllers\n       |- users.go\n       |- posts.go\n  |- middlewares\n       |- auth.go\n  |- services\n       |- database.go\n  |- views\n       |- _partials\n            |- header.handlebars\n            |- footer.handlebars\n            |- users\n                 |- avatar.handlebars\n       |- users\n            |- login.handlebars\n            |- profile.handlebars\n  |- main.go\n```\n\n以上目录结构除`views`目录必须包含`_partials`外，其他路径均无严格要求。\nHandlebars模板是根据使用情况动态加载到内存中的，但全局Partials是在程序启动时加载的。\n所以partials文件必须放在模板路径下的 `_partials` 路径内。\n\n如果项目中希望包含多个command，建议使用 [cobra](https://github.com/spf13/cobra) 代替main.go做为启动器。\n同时使用 [viper](https://github.com/spf13/cobra) 来加载配置文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerray%2Fgopress-kick-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerray%2Fgopress-kick-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerray%2Fgopress-kick-starter/lists"}