Files
2026-07-15 22:42:31 +08:00

12 lines
190 B
Go

package comment_repo
import "gorm.io/gorm"
type CommentRepository struct {
db *gorm.DB
}
func NewCommentRepository(db *gorm.DB) *CommentRepository {
return &CommentRepository{db: db}
}