docs(architecture): update architectural guidelines to reflect feature-based service design

- Updated AGENTS.md, new-api SKILL.md, and new-async-task SKILL.md to remove references to the deleted global internal/service/ package.
- Documented feature-based local logics/services design within internal/apps/<module>/.
- Updated package comments in internal/diskcache to point to pkg/cache/disk.
This commit is contained in:
ryan
2026-06-15 16:47:35 +08:00
parent 239711cea7
commit 3e8e879661
6 changed files with 35 additions and 30 deletions
@@ -12,7 +12,7 @@ import (
"go.uber.org/zap"
)
// CustomService 示例业务 Service 结构体
// CustomService 示例业务 Service 结构体(通常放在 internal/apps/custom/service.go 中)
type CustomService struct {
// 这里可以注入数据库连接、配置对象或者其他基础服务的客户端
// 例如:db *gorm.DB