Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostService ¶
type PostService interface {
GetAll() (*datamodels.Post, error)
}
func NewPostService ¶
func NewPostService(repo repositories.PostRepository) PostService
type UserService ¶
type UserService interface { GetAll() (*datamodels.User, error) Exist(username string, password string) (bool, error) }
func NewUserService ¶
func NewUserService(repo repositories.AuthRepository) UserService
Click to show internal directories.
Click to hide internal directories.