migrate from github
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package comment_repo
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type CommentRepository struct {
|
||||
db *gorm.DB
|
||||
}
|
||||
|
||||
func NewCommentRepository(db *gorm.DB) *CommentRepository {
|
||||
return &CommentRepository{db: db}
|
||||
}
|
||||
Reference in New Issue
Block a user