https://github.com/juminiy/gormx
Reinforced for gorm, aims to be best partner of gorm, rich plugins and toolkits for ORM.
https://github.com/juminiy/gormx
golang gorm multi-tenants orm plugins
Last synced: 3 months ago
JSON representation
Reinforced for gorm, aims to be best partner of gorm, rich plugins and toolkits for ORM.
- Host: GitHub
- URL: https://github.com/juminiy/gormx
- Owner: Juminiy
- License: apache-2.0
- Created: 2025-03-05T12:05:07.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-05T15:22:40.000Z (3 months ago)
- Last Synced: 2025-03-05T16:32:12.746Z (3 months ago)
- Topics: golang, gorm, multi-tenants, orm, plugins
- Language: Go
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gormx
Reinforced for gorm, aims to be best partner of gorm, rich plugins and toolkits for ORM.## Migrate From kube
> 2025.03.05
1. Do Full Feature Tests
2. Add TenantID Default Clause
3. Fix Time Type to receive: timestamp, time.Time, sql.NullTime
4. Move update and delete clause check to clause_checker> 2025.03.06
1. BUG report: uniques and tenants not consistency, because of tx session not clone current settings.
1. tenants setting eg. tenant_id in callbacks
2. hooks setting as well, eg. user_id in BeforeUpdate hooks
2. Feature report: BeforeDelete Hooks with Array, Slice, Map
3. Feature report: AfterFind Hooks with Find Map: map[string]any, *map[string]any, *[]map[string]any
4. New Feature report: TenantID as a type do data isolation, can be overlapped: tenant_id, user_id, admin_id, operator_id, ...
5. New Plugin: codegen for gin+gorm, fiber+gorm short for `CodeGenerator`
6. New Plugin: optlock short for `OptimisticLock`
7. Feature report: new type in tenants.ID, tenants.HideID