使用 Golang 打造 Web 應用程式
  • Introduction
  • Go 環境配置
    • Go 安裝
    • GOPATH 與工作空間
    • Go 命令
    • Go 開發工具
    • 小結
  • Go 語言基礎
    • 你好,Go
    • Go 基礎
    • 流程和函式
    • struct
    • 物件導向
    • interface
    • 併發
    • 小結
  • Web 基礎
    • web 工作方式
    • Go 建立一個簡單的 web 服務
    • Go 如何使得 web 工作
    • Go 的 http 套件詳解
    • 小結
  • 表單
    • 處理表單的輸入
    • 驗證表單的輸入
    • 預防跨站指令碼
    • 防止多次提交表單
    • 處理檔案上傳
    • 小結
  • 存取資料庫
    • database/sql 介面
    • 使用 MySQL 資料庫
    • 使用 SQLite 資料庫
    • 使用 PostgreSQL 資料庫
    • 使用 beedb 函式庫進行 ORM 開發
    • NoSQL 資料庫操作
    • 小結
  • session 和資料儲存
    • session 和 cookie
    • Go 如何使用 session
    • session 儲存
    • 預防 session 劫持
    • 小結
  • 文字檔案處理
    • XML 處理
    • JSON 處理
    • 正則處理
    • 範本處理
    • 檔案操作
    • 字串處理
    • 小結
  • Web 服務
    • Socket 程式設計
    • WebSocket
    • REST
    • RPC
    • 小結
  • 安全與加密
    • 預防 CSRF 攻擊
    • 確保輸入過濾
    • 避免 XSS 攻擊
    • 避免 SQL 注入
    • 儲存密碼
    • 加密和解密資料
    • 小結
  • 國際化和本地化
    • 設定預設地區
    • 本地化資源
    • 國際化站點
    • 小結
  • 錯誤處理,除錯和測試
    • 錯誤處理
    • 使用 GDB 除錯
    • Go 怎麼寫測試案例
    • 小結
  • 部署與維護
    • 應用日誌
    • 網站錯誤處理
    • 應用部署
    • 備份和還原
    • 小結
  • 如何設計一個 Web 框架
    • 專案規劃
    • 自訂路由器設計
    • controller 設計
    • 日誌和配置設計
    • 實現部落格的增刪改
    • 小結
  • 擴充套件 Web 框架
    • 靜態檔案支援
    • Session 支援
    • 表單支援
    • 使用者認證
    • 多語言支援
    • pprof 支援
    • 小結
  • 參考資料
Powered by GitBook
On this page
  • Purpose
  • Acknowledgments
  • License
  • 正體中文翻譯

Was this helpful?

Introduction

NextGo 環境配置

Last updated 5 years ago

Was this helpful?

這本書是專為 Golang 新手開發者所寫,原始內容皆來自 專案,感謝所有貢獻者的付出與努力,希望大家會喜歡。

Purpose

Because I'm interested in web application development, I used my free time to write this book as an open source version. It doesn't mean that I have a very good ability to build web applications; I would like to share what I've done with Go in building web applications.

  • For those of you who are working with PHP/Python/Ruby, you will learn how to build a web application with Go.

  • For those of you who are working with C/C++, you will know how the web works.

I believe the purpose of studying is sharing with others. The happiest thing in my life is sharing everything I've known with more people.

Acknowledgments

  • (review code)

  • (review code)

  • (write the configurations about Vim and Emacs for Go development)

  • (review code)

  • (provide some pictures)

  • (review whole book)

  • (review chapter 2 and 3)

License

正體中文翻譯

  • Will 保哥

This book is licensed under the , the code is licensed under a , unless otherwise specified.

Build Web Application with Golang
四月份平民 April Citizen
洪瑞琦 Hong Ruiqi
边 疆 BianJiang
欧林猫 Oling Cat
吴文磊 Wenlei Wu
北极星 Polaris
雨 痕 Rain Trail
CC BY-SA 3.0 License
BSD 3-Clause License
Blog (The Will Will Web)
Twitter (Will Huang)
Facebook (Will 保哥的技術交流中心)