Documentation ¶
Index ¶
- Variables
- func NewIpPostRepo(data *Data, logger *log.Logger) biz.IpPostRepo
- func NewIpVoteRepo(data *Data, logger *log.Logger) biz.IpVoteRepo
- func NewPostRepo(data *Data, logger *log.Logger) biz.PostRepo
- func NewPostVoteRepo(data *Data, logger *log.Logger) biz.PostVoteRepo
- func NewUserRepo(data *Data, logger *log.Logger) biz.UserRepo
- func NewVoteRepo(data *Data, logger *log.Logger) biz.VoteRepo
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRowExist = errors.New("The row in table exist.")
)
Functions ¶
func NewIpPostRepo ¶
func NewIpPostRepo(data *Data, logger *log.Logger) biz.IpPostRepo
func NewIpVoteRepo ¶
func NewIpVoteRepo(data *Data, logger *log.Logger) biz.IpVoteRepo
func NewPostVoteRepo ¶
func NewPostVoteRepo(data *Data, logger *log.Logger) biz.PostVoteRepo
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.