Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressRepository ¶
type AddressRepository struct {
// contains filtered or unexported fields
}
func (*AddressRepository) GetOrCreate ¶
func (r *AddressRepository) GetOrCreate(m *models.Address) error
type CommentRepository ¶
type CommentRepository struct {
// contains filtered or unexported fields
}
func (*CommentRepository) GetAll ¶
func (r *CommentRepository) GetAll(page, limit int) ([]*models.Comment, error)
func (*CommentRepository) GetByPostId ¶
func (r *CommentRepository) GetByPostId(postId string) ([]*models.Comment, error)
type PostRepository ¶
type PostRepository struct {
// contains filtered or unexported fields
}
func (*PostRepository) GetBoardIndex ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Address ¶
func (s *Store) Address() store.AddressRepository
func (*Store) Comment ¶
func (s *Store) Comment() store.CommentRepository
func (*Store) Post ¶
func (s *Store) Post() store.PostRepository
func (*Store) Vote ¶
func (s *Store) Vote() store.VoteRepository
type VoteRepository ¶
type VoteRepository struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.