Add IAM scaffold modules

This commit is contained in:
2026-02-03 10:05:53 +08:00
parent bc69ad4e33
commit 66e438978e
21 changed files with 156 additions and 0 deletions

8
iam/docs/README.md Normal file
View File

@@ -0,0 +1,8 @@
# IAM Demo Structure
This folder is a lightweight example showing how files can be split by responsibility.
- cmd/iam/main.go creates the service.
- internal/service wires dependencies.
- internal/auth/jwt holds token logic.
- internal/repo provides data access interfaces.