chore: comment fixes
This commit is contained in:
@@ -12,7 +12,7 @@ var (
|
||||
ErrEditConflict = errors.New("edit conflict")
|
||||
)
|
||||
|
||||
// Create a Models struct which wraps the MovieModel. We'll add other models to this,
|
||||
// Models struct which wraps the MovieModel. We'll add other models to this,
|
||||
// like a UserModel and PermissionModel, as our build progresses.
|
||||
type Models struct {
|
||||
Movies MovieModel
|
||||
@@ -20,7 +20,7 @@ type Models struct {
|
||||
Users UserModel
|
||||
}
|
||||
|
||||
// For ease of use, we also add a New()
|
||||
// NewModels For ease of use, we also add a New()
|
||||
// method which returns a Models struct containing
|
||||
// the initialized MovieModel.
|
||||
func NewModels(db *sql.DB) Models {
|
||||
|
||||
Reference in New Issue
Block a user