Split highlights into title and items

This commit is contained in:
2018-05-08 23:43:11 +02:00
parent 96f48ac739
commit 5d82dbf58b
5 changed files with 49 additions and 14 deletions

View File

@@ -93,18 +93,23 @@ type SocialProfile struct {
URL string `json:"url"`
}
type JobHighlight struct {
Title string `json:"title"`
Items []string `json:"items"`
}
// Work is the work details of the resume owner.
type Work struct {
Name string `json:"name"`
WorkLocation string `json:"location"`
Description string `json:"description"`
Position string `json:"position"`
URL string `json:"url"`
StartDate ResumeDate `json:"startDate"`
EndDate ResumeDate `json:"endDate"`
Summary string `json:"summary"`
Highlights []string `json:"highlights"`
Keywords []string `json:"keywords"`
Name string `json:"name"`
WorkLocation string `json:"location"`
Description string `json:"description"`
Position string `json:"position"`
URL string `json:"url"`
StartDate ResumeDate `json:"startDate"`
EndDate ResumeDate `json:"endDate"`
Summary string `json:"summary"`
Highlights []JobHighlight `json:"highlights"`
Keywords []string `json:"keywords"`
}
// Volunteer is the volunteer details of the resume owner.