This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/service/service.go
2024-09-19 18:44:53 +08:00

24 lines
844 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package service
import (
"schisandra-cloud-album/service/comment_reply_service"
"schisandra-cloud-album/service/permission_service"
"schisandra-cloud-album/service/role_service"
"schisandra-cloud-album/service/user_device_service"
"schisandra-cloud-album/service/user_service"
"schisandra-cloud-album/service/user_social_service"
)
// Services 统一导出的service
type Services struct {
UserService user_service.UserService
RoleService role_service.RoleService
PermissionService permission_service.PermissionService
UserSocialService user_social_service.UserSocialService
UserDeviceService user_device_service.UserDeviceService
CommentReplyService comment_reply_service.CommentReplyService
}
// Service new函数实例化实例化完成后会返回结构体地指针类型
var Service = new(Services)