mahdium
94694741a7
modernize the codebase
...
Run the modernize linter across the codebase.
Change generated by running:
```
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
```
Ref:
https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize
2025-09-23 09:13:29 +03:30
mahdium
fc1502c4a0
fix: 🐛 GetMedia imageKit dependencie
2025-09-22 13:49:21 +03:30
mahdium and Qwen-Coder
f136ae58b3
Refactor: Implement uber-go/fx dependency injection
...
- Replace global variable pattern with proper dependency injection
- Add uber-go/fx for automatic dependency resolution
- Refactor all services and handlers to use constructor injection
- Eliminate fragile initialization order dependencies
- Improve testability and modularity
- Add structured logging with zap
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2025-09-16 11:41:01 +03:30
mahdium
8dcdd27745
Minor improvements to admin panel API
2025-07-29 19:21:15 +03:30
mahdium
051408fcdd
Added imagekit optimization support
2025-07-29 17:52:39 +03:30
mahdium
a1b3bfa18d
Update import path from requestModels to dto package and update struct references
2025-05-17 20:49:56 +03:30
mahdium
9565c06fba
Add JWT auth and .env support for admin login
2025-05-17 20:47:04 +03:30
mahdium
0d9cf11687
Remove unused imports and fix import alias naming
2025-05-17 20:29:07 +03:30
mahdium
7b601e75ba
Refactor app structure: move models to domain, centralize config and database init - TODO: add jwt
2025-05-17 20:07:29 +03:30