feat(training): add Description field
This commit is contained in:
parent
bda8bb9e85
commit
d55276886b
5 changed files with 76 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue