diff --git a/README.md b/README.md index b4939d1..c95fc7d 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ No application is perfect from the beginning. With over a dozen coming articles, - [docker](docker/) Dockerfiles - [internal](internal/) application code - [scripts](scripts/) deployment and development scripts -- [terraform](terraform/) - infrastructure defintion +- [terraform](terraform/) - infrastructure definition - [web](web/) - frontend JavaScript code ### Live Demo diff --git a/internal/trainer/domain/hour/hour.go b/internal/trainer/domain/hour/hour.go index a817d52..04f1373 100644 --- a/internal/trainer/domain/hour/hour.go +++ b/internal/trainer/domain/hour/hour.go @@ -65,7 +65,7 @@ func (f FactoryConfig) Validate() error { } type Factory struct { - // it's better to keep FactoryConfig as a private attributte, + // it's better to keep FactoryConfig as a private attribute, // thanks to that we are always sure that our configuration is not changed in the not allowed way fc FactoryConfig } diff --git a/internal/trainings/domain/training/user_test.go b/internal/trainings/domain/training/user_test.go index a6ff064..55e75b7 100644 --- a/internal/trainings/domain/training/user_test.go +++ b/internal/trainings/domain/training/user_test.go @@ -27,7 +27,7 @@ func TestIsUserAllowedToSeeTraining(t *testing.T) { ExpectedIsAllowed bool }{ { - Name: "attendes_training", + Name: "attendees_training", CreateTraining: func(t *testing.T) *training.Training { tr, err := training.NewTraining( uuid.New().String(), @@ -43,7 +43,7 @@ func TestIsUserAllowedToSeeTraining(t *testing.T) { ExpectedIsAllowed: true, }, { - Name: "another_attendes_training", + Name: "another_attendees_training", CreateTraining: func(t *testing.T) *training.Training { tr, err := training.NewTraining( uuid.New().String(), diff --git a/web/src/pages/ScheduleTraining.vue b/web/src/pages/ScheduleTraining.vue index b18d544..f1fee30 100644 --- a/web/src/pages/ScheduleTraining.vue +++ b/web/src/pages/ScheduleTraining.vue @@ -14,7 +14,7 @@ has a validation state that can be triggered by attempting to submit the form without completing it.