1
0
Fork 0

feat(training): add Description field

This commit is contained in:
Vojtěch Mareš 2024-05-05 09:47:50 +02:00
parent bda8bb9e85
commit d55276886b
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
5 changed files with 76 additions and 58 deletions

View file

@ -18,28 +18,34 @@ func NewInMemoryTrainingRepository() *InMemoryTrainingRepository {
}
repo.Create(&Training{
Name: "Kubernetes",
Days: 2,
Name: "Kubernetes",
Days: 2,
Description: "",
})
repo.Create(&Training{
Name: "Terraform",
Days: 1,
Name: "Terraform",
Days: 1,
Description: "",
})
repo.Create(&Training{
Name: "RKE2",
Days: 1,
Name: "RKE2",
Days: 1,
Description: "",
})
repo.Create(&Training{
Name: "GitHub Actions",
Days: 1,
Name: "GitHub Actions",
Days: 1,
Description: "",
})
repo.Create(&Training{
Name: "GitLab CI",
Days: 1,
Name: "GitLab CI",
Days: 1,
Description: "",
})
repo.Create(&Training{
Name: "Prometheus",
Days: 2,
Name: "Prometheus",
Days: 2,
Description: "",
})
return repo