- 在 Curd 结构体中添加 Hook 字段用于数据库操作钩子处理 - 为 DeletePri、DeleteWhere、Save、Update 和 UpdatePri 方法集成 Hook 支持 - 所有数据库操作方法现在通过 Hook 进行扩展处理 - 支持在数据库操作执行前后注入自定义逻辑 - 保持原有的数据库操作功能不变,仅增强扩展性 |
||
|---|---|---|
| autoMigrate | ||
| baseGrpc | ||
| excel | ||
| mqtt/client | ||
| server | ||
| task | ||
| tcp | ||
| utils | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| go.mod | ||
| go.sum | ||
README.md
Copyright 2021 black1552
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.