什麼是 go-data-persistence?
Go 中的数据持久化模式涵盖使用 sqlx/pgx 的原始 SQL、Ent 和 GORM 等 ORM、连接池、使用 golang-migrate 进行迁移以及事务管理。在實現資料庫存取、設計儲存庫或管理架構遷移時使用。 來源:existential-birds/beagle。
Go 中的数据持久化模式涵盖使用 sqlx/pgx 的原始 SQL、Ent 和 GORM 等 ORM、连接池、使用 golang-migrate 进行迁移以及事务管理。在實現資料庫存取、設計儲存庫或管理架構遷移時使用。
透過命令列快速安裝 go-data-persistence AI 技能到你的開發環境
來源:existential-birds/beagle。
| Connection pool internals, sizing, pgx pools, monitoring | references/connection-pooling.md | | golang-migrate setup, file conventions, CI/CD integration | references/migrations.md | | Transaction helpers, service-layer transactions, isolation levels | references/transactions.md |
| Factor | Raw SQL (sqlx/pgx) | ORM (Ent/GORM) |
| Complex queries | Preferred | Awkward | | Type safety | Manual | Auto-generated | | Performance control | Full | Limited | | Rapid prototyping | Slower | Faster | | Schema migrations | golang-migrate | Built-in (Ent) | | Learning curve | SQL knowledge | ORM API |
Go 中的数据持久化模式涵盖使用 sqlx/pgx 的原始 SQL、Ent 和 GORM 等 ORM、连接池、使用 golang-migrate 进行迁移以及事务管理。在實現資料庫存取、設計儲存庫或管理架構遷移時使用。 來源:existential-birds/beagle。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/existential-birds/beagle --skill go-data-persistenceGo 中的数据持久化模式涵盖使用 sqlx/pgx 的原始 SQL、Ent 和 GORM 等 ORM、连接池、使用 golang-migrate 进行迁移以及事务管理。在實現資料庫存取、設計儲存庫或管理架構遷移時使用。 來源:existential-birds/beagle。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/existential-birds/beagle --skill go-data-persistence 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/existential-birds/beagle