{"id":13462360,"url":"https://github.com/bonfy/go-mega","last_synced_at":"2026-01-22T07:35:32.412Z","repository":{"id":41086577,"uuid":"150208952","full_name":"bonfy/go-mega","owner":"bonfy","description":"✨🤟✨Go-Mega Tutorial for Go Web Develop | Demo: https://go-mega.herokuapp.com","archived":false,"fork":false,"pushed_at":"2020-07-09T14:47:01.000Z","size":20464,"stargazers_count":746,"open_issues_count":1,"forks_count":126,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-10-29T11:11:14.090Z","etag":null,"topics":["go","go-mega","tutorial"],"latest_commit_sha":null,"homepage":"https://go-mega.bonfy.im","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bonfy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://raw.githubusercontent.com/bonfy/image/master/global/sponsor.jpg","https://paypal.me/foreverbonfy"]}},"created_at":"2018-09-25T04:46:04.000Z","updated_at":"2024-09-13T13:48:28.000Z","dependencies_parsed_at":"2022-07-21T04:34:39.723Z","dependency_job_id":null,"html_url":"https://github.com/bonfy/go-mega","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/bonfy%2Fgo-mega","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfy%2Fgo-mega/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfy%2Fgo-mega/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfy%2Fgo-mega/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bonfy","download_url":"https://codeload.github.com/bonfy/go-mega/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245382167,"owners_count":20606163,"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":["go","go-mega","tutorial"],"created_at":"2024-07-31T12:00:45.715Z","updated_at":"2026-01-22T07:35:32.376Z","avatar_url":"https://github.com/bonfy.png","language":"Go","readme":"![cover](cover.png)\n\n# Go-Mega\n\n[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC%20BY--NC--ND%204.0-brightgreen.svg)](https://raw.githubusercontent.com/bonfy/go-mega/master/LICENSE)\n\n大家好，我是 [BONFY](https://github.com/bonfy) ，拥有多年开发Web的经验，不过想起我当时入门 Python Web 的时候也是看了当时 [Miguel Grinberg](https://blog.miguelgrinberg.com/) 的博客，按照他的教程一步一步搭建最简单的博客，再到自己去研究 **Flask** 源码以及其他的 Web 框架。\n\n目前由于工作需要，我经常要用 **Go** 开发Web应用，也积攒了一些经验和方法，所以就想模仿 [The Flask Mega-Tutorial教程](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world) 来编写一套 **Go** 的 Web 教程。\n\n本书的目录我尽量和 The Flask Mega 保持一致，不过对于有些章节也会酌情删减。\n\n## 章节总览\n\n| Title | Source Code | Zip |\n| :--- | :--- | :--- |\n| [00-Prepare](00-prepare.md) |  | |\n| [01-Hello-World](01-hello-world.md) | [View](https://github.com/bonfy/go-mega-code/tree/01-Hello-World) | [Download](https://github.com/bonfy/go-mega-code/archive/v0.1.zip)|\n| [02-Template-Basic](02-template-basic.md) | [View](https://github.com/bonfy/go-mega-code/tree/02-Template)  | [Download](https://github.com/bonfy/go-mega-code/archive/v0.2.zip)|\n| [03-Template-Advance](03-template-advance.md) | [View](https://github.com/bonfy/go-mega-code/tree/03-Template-Advance) | [Download](https://github.com/bonfy/go-mega-code/archive/v0.3.zip) |\n| [04-Web-Form](04-web-form.md) | [View](https://github.com/bonfy/go-mega-code/tree/04-Web-Form) |  [Download](https://github.com/bonfy/go-mega-code/archive/v0.4.zip) |\n| [05-Database](05-database.md) | [View](https://github.com/bonfy/go-mega-code/tree/05-Database) | [Download](https://github.com/bonfy/go-mega-code/archive/v0.5.zip) |\n| [06-User-Login](06-user-login.md) | [View](https://github.com/bonfy/go-mega-code/tree/06-User-Login) | [Download](https://github.com/bonfy/go-mega-code/archive/v0.6.zip) |\n| [07-Profile-Page-And-Avatar](07-profile-page-and-avatar.md) | [View](https://github.com/bonfy/go-mega-code/tree/07-Profile-Page) | [Download](https://github.com/bonfy/go-mega-code/archive/v0.7.zip) |\n| [08-Follower](08-follower.md) | [View](https://github.com/bonfy/go-mega-code/tree/08-Follower) | [Download](https://github.com/bonfy/go-mega-code/archive/v0.8.zip) |\n| [09-Pagination](09-pagination.md) | [View](https://github.com/bonfy/go-mega-code/tree/09-Pagination) | [Download](https://github.com/bonfy/go-mega-code/archive/v0.9.zip)|\n| [10-Email-Support](10-email-support.md) | [View](https://github.com/bonfy/go-mega-code/tree/10-Email-Support) | [Download](https://github.com/bonfy/go-mega-code/archive/v1.0.zip)|\n| [11-Facelift](11-facelift.md) | [View](https://github.com/bonfy/go-mega-code/tree/11-Facelift) | [Download](https://github.com/bonfy/go-mega-code/archive/v1.1.zip) |\n| [12-Dates-And-Times](12-dates-and-times.md) | [View](https://github.com/bonfy/go-mega-code/tree/12-Dates-And-Times) | [Download](https://github.com/bonfy/go-mega-code/archive/v1.2.zip) |\n| [13-Javascript-Magic](13-javascript-magic.md) | [View](https://github.com/bonfy/go-mega-code/tree/13-Javascript-Magic) | [Download](https://github.com/bonfy/go-mega-code/archive/v1.3.zip) |\n| [14-Deployment-On-Heroku](14-deployment-on-heroku.md) | [View](https://github.com/bonfy/go-mega-code/tree/14-Deployment-On-Heroku) | [Download](https://github.com/bonfy/go-mega-code/archive/v1.4.zip) |\n| [15-Deployment-On-Linux](15-deployment-on-linux.md) | [View](https://github.com/bonfy/go-mega-code/tree/15-Deployment-On-Linux) | [Download](https://github.com/bonfy/go-mega-code/archive/v1.5.zip) |\n| [16-Summary](16-summary.md) | | |\n\n\n## 声明\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png\" /\u003e\u003c/a\u003e\n\n本书由 [BONFY](https://github.com/bonfy) 编写，采用 [CC BY-NC-ND 4.0](http://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh) 协议发布。\n\n这意味着你可以在非商业性使用的前提下自由转载，但必须：\n\n1. 保持署名\n2. 不对本书进行修改\n\n## 联系我\n\n如果你对于本书有什么建议或意见，欢迎批评指正，并联系我。\n\n* [个人主页](https://bonfy.im)\n* [个人博客](https://blog.bonfy.im)\n* [知乎](https://zhuanlan.zhihu.com/bonfy)\n* [GitHub](https://github.com/bonfy)\n* [Twitter](https://twitter.com/foreverbonfy)\n* [Email](mailto:bonfygithub@163.com)\n\n## 相关资源\n\n* [书籍 Github源地址](https://github.com/bonfy/go-mega)\n* [源码 Github源地址](https://github.com/bonfy/go-mega-code)\n* [Demo 地址](https://go-mega.herokuapp.com)\n\n## 电子书\n\n* [epub 下载链接](https://raw.githubusercontent.com/bonfy/image/master/ebook/Go-Mega%20Tutorial.epub)\n* [mobi 下载链接](https://raw.githubusercontent.com/bonfy/image/master/ebook/Go-Mega%20Tutorial.mobi)\n\n## 支持我\n\n如果您感觉有收获，欢迎给我打赏，以激励我输出更多优质内容，感谢支持！\n\n![感谢支持](images/sponsor.jpg)","funding_links":["https://raw.githubusercontent.com/bonfy/image/master/global/sponsor.jpg","https://paypal.me/foreverbonfy"],"categories":["Uncategorized","Go","go基础学习系列","Repositories"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonfy%2Fgo-mega","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbonfy%2Fgo-mega","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonfy%2Fgo-mega/lists"}