Robuta

https://gorm.io/zh_CN/docs/ GORM 指南 | GORM - The fantastic ORM library for Golang, aims to be developer friendly. 一个致力于对开发者友好的优秀 Golang ORM 库。 特性 全功能 ORM 关联 (Has One,Has Many,Belongs To,Many To Many,多态,单表继承) Create,Save,Update,Delete,Find 中钩子方法 支持 Preload、Joins 的预加载... https://gorm.io/docs/has_many.html Has Many | GORM - The fantastic ORM library for Golang, aims to be developer friendly. Has ManyA has many association sets up a one-to-many connection with another model, unlike has one, the owner could have zero or many instances of models. For...