Add a hide field

This commit is contained in:
2021-02-01 22:16:53 +01:00
parent ed190ef35a
commit 5b68510c0d
6 changed files with 13 additions and 9 deletions

View File

@@ -105,6 +105,7 @@ type Highlight struct {
// Work is the work details of the resume owner.
type Work struct {
Name string `json:"name"`
Hide bool `json:"hide"`
Location string `json:"location"`
Description string `json:"description"`
Position string `json:"position"`
@@ -119,6 +120,7 @@ type Work struct {
// Volunteer is the volunteer details of the resume owner.
type Volunteer struct {
Organization string `json:"organization"`
Hide bool `json:"hide"`
Position string `json:"position"`
URL string `json:"url"`
StartDate ResumeDate `json:"startDate"`
@@ -131,6 +133,7 @@ type Volunteer struct {
// Education is the education details of the resume owner.
type Education struct {
Institution string `json:"institution"`
Hide bool `json:"hide"`
Area string `json:"area"`
StudyType string `json:"studyType"`
StartDate ResumeDate `json:"startDate"`
@@ -184,6 +187,7 @@ type Reference struct {
// Volunteer is the volunteer details of the resume owner.
type Project struct {
Name string `json:"name"`
Hide bool `json:"hide"`
Description string `json:"description"`
Highlights []Highlight `json:"highlights"`
Keywords []string `json:"keywords"`