madipo2611 0d4b8b203e v0.0.2
2025-05-01 12:17:42 +03:00

28 lines
513 B
Go

package service
import _ "tailly_back_v2/internal/repository"
type Services struct {
Auth AuthService
User UserService
Post PostService
Comment CommentService
Like LikeService
}
func NewServices(
authService AuthService,
userService UserService,
postService PostService,
commentService CommentService,
likeService LikeService,
) *Services {
return &Services{
Auth: authService,
User: userService,
Post: postService,
Comment: commentService,
Like: likeService,
}
}