feat(expiry): 完成 #20 模块目录与健康路由
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package expiry
|
||||
|
||||
// Service 封装保质期模块业务逻辑。
|
||||
type Service struct {
|
||||
repo *Repository
|
||||
}
|
||||
|
||||
func NewService(repo *Repository) *Service {
|
||||
return &Service{repo: repo}
|
||||
}
|
||||
Reference in New Issue
Block a user