什麼是 golang-gin-api?
使用 Go Gin 框架建立 REST API。涵蓋路由、處理程序模式、請求綁定/驗證、中間件鏈、錯誤處理、安全標頭 (OWASP)、CORS、逾時中間件和分層專案結構。在建立 Go Web 伺服器、REST 端點、HTTP 處理程序或使用 Gin 框架時使用。當使用者在 Go 中提到 Gin 路由、中間件、JSON 回應、請求解析或 API 結構時也會啟動。 來源:henriqueatila/golang-gin-best-practices。
使用 Go Gin 框架建立 REST API。涵蓋路由、處理程序模式、請求綁定/驗證、中間件鏈、錯誤處理、安全標頭 (OWASP)、CORS、逾時中間件和分層專案結構。在建立 Go Web 伺服器、REST 端點、HTTP 處理程序或使用 Gin 框架時使用。當使用者在 Go 中提到 Gin 路由、中間件、JSON 回應、請求解析或 API 結構時也會啟動。
透過命令列快速安裝 golang-gin-api AI 技能到你的開發環境
來源:henriqueatila/golang-gin-best-practices。
Build production-grade REST APIs with Go and Gin. This skill covers the 80% of patterns you need daily: server setup, routing, request binding, response formatting, and error handling.
Use internal/ for code that must not be imported by other modules. Use pkg/ for reusable middleware and utilities.
Architecture note: In clean architecture, domain entities should not carry json or binding tags. Use separate request/response DTOs in the delivery layer. See golang-gin-clean-arch Golden Rule 4.
使用 Go Gin 框架建立 REST API。涵蓋路由、處理程序模式、請求綁定/驗證、中間件鏈、錯誤處理、安全標頭 (OWASP)、CORS、逾時中間件和分層專案結構。在建立 Go Web 伺服器、REST 端點、HTTP 處理程序或使用 Gin 框架時使用。當使用者在 Go 中提到 Gin 路由、中間件、JSON 回應、請求解析或 API 結構時也會啟動。 來源:henriqueatila/golang-gin-best-practices。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/henriqueatila/golang-gin-best-practices --skill golang-gin-apiBrowse more skills from henriqueatila/golang-gin-best-practices
使用 Go Gin 框架建立 REST API。涵蓋路由、處理程序模式、請求綁定/驗證、中間件鏈、錯誤處理、安全標頭 (OWASP)、CORS、逾時中間件和分層專案結構。在建立 Go Web 伺服器、REST 端點、HTTP 處理程序或使用 Gin 框架時使用。當使用者在 Go 中提到 Gin 路由、中間件、JSON 回應、請求解析或 API 結構時也會啟動。 來源:henriqueatila/golang-gin-best-practices。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/henriqueatila/golang-gin-best-practices --skill golang-gin-api 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/henriqueatila/golang-gin-best-practices