package documents import ( "leafdev.top/Leaf/api-platform/internal/dao" "leafdev.top/Leaf/api-platform/pkg/protos/documentService" ) type DocumentService struct { documentService.UnimplementedDocumentServiceServer dao *dao.Query } func NewDocumentService(dao *dao.Query) *DocumentService { return &DocumentService{ documentService.UnimplementedDocumentServiceServer{}, dao, } }