package repository import ( "gorm.io/gorm" ) type ProfileRepository struct { db *gorm.DB } func NewProfileRepository(db *gorm.DB) *ProfileRepository { repository := &ProfileRepository{db: db} return repository }