feat: get news by slug and and author detail
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package newssvc
|
||||
|
||||
import newsdomain "legalgo-BE-go/internal/domain/news"
|
||||
|
||||
func (i *impl) GetBySlug(slug string) (*newsdomain.News, error) {
|
||||
return i.newsRepo.GetBySlug(slug)
|
||||
}
|
||||
Reference in New Issue
Block a user