Documentation ¶
Index ¶
- func Migrate(db *sqlx.DB, baseDir string) error
- func New(host string, port uint16, dbName string, user string, password string, ...) (*sqlx.DB, error)
- func NewAffiliationRepository(db *sqlx.DB) models.AffiliationRepository
- func NewBookmarkRepository(db *sqlx.DB) models.BookmarkRepository
- func NewCommentRepository(db *sqlx.DB) models.CommentRepository
- func NewCommunityRepository(db *sqlx.DB) models.CommunityRepository
- func NewCommunityRestaurantsRepository(db *sqlx.DB) models.CommunityRestaurantsRepository
- func NewInviteTokenRepository(db *sqlx.DB) models.InviteTokenRepository
- func NewRestaurantRepository(db *sqlx.DB) models.RestaurantRepository
- func NewUserRepository(db *sqlx.DB) models.UserRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAffiliationRepository ¶
func NewAffiliationRepository(db *sqlx.DB) models.AffiliationRepository
func NewBookmarkRepository ¶
func NewBookmarkRepository(db *sqlx.DB) models.BookmarkRepository
func NewCommentRepository ¶
func NewCommentRepository(db *sqlx.DB) models.CommentRepository
func NewCommunityRepository ¶
func NewCommunityRepository(db *sqlx.DB) models.CommunityRepository
func NewCommunityRestaurantsRepository ¶
func NewCommunityRestaurantsRepository(db *sqlx.DB) models.CommunityRestaurantsRepository
func NewInviteTokenRepository ¶
func NewInviteTokenRepository(db *sqlx.DB) models.InviteTokenRepository
func NewRestaurantRepository ¶
func NewRestaurantRepository(db *sqlx.DB) models.RestaurantRepository
func NewUserRepository ¶
func NewUserRepository(db *sqlx.DB) models.UserRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.