mirror of https://github.com/rocboss/paopao-ce
Merge pull request #83 from alimy/main
abstract IndexPostsService interface for get index postspull/87/head
commit
b46cec2c60
@ -0,0 +1,9 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"github.com/rocboss/paopao-ce/internal/model"
|
||||
)
|
||||
|
||||
type IndexPostsService interface {
|
||||
IndexPosts(offset int, limit int) ([]*model.PostFormated, error)
|
||||
}
|
Loading…
Reference in new issue