Add short address

This commit is contained in:
2021-02-07 21:38:09 +01:00
parent e19cc078da
commit 48b71970b6
8 changed files with 56 additions and 30 deletions

View File

@@ -53,19 +53,20 @@ func (ct *ResumeDate) UnmarshalJSON(b []byte) (err error) {
// Resume represent Curriculum Vitae
type Resume struct {
Title string `json:"title"`
Language string `json:"lang"`
Basic Basic `json:"basics"`
Work []Work `json:"work"`
Volunteer []Volunteer `json:"volunteer"`
Education []Education `json:"education"`
Awards []Award `json:"awards"`
Publications []Publication `json:"publications"`
Skills []Skill `json:"skills"`
Languages []Language `json:"languages"`
Interests []Interest `json:"interests"`
References []Reference `json:"references"`
Projects []Project `json:"projects"`
Title string `json:"title"`
UseFullAddress bool
Language string `json:"lang"`
Basic Basic `json:"basics"`
Work []Work `json:"work"`
Volunteer []Volunteer `json:"volunteer"`
Education []Education `json:"education"`
Awards []Award `json:"awards"`
Publications []Publication `json:"publications"`
Skills []Skill `json:"skills"`
Languages []Language `json:"languages"`
Interests []Interest `json:"interests"`
References []Reference `json:"references"`
Projects []Project `json:"projects"`
}
// Basic is the basic information for a resume
@@ -83,11 +84,12 @@ type Basic struct {
// Location is the location details of a resume owner.
type UserLocation struct {
Address string `json:"address"`
PostalCode string `json:"postalCode"`
City string `json:"city"`
CountryCode string `json:"countryCode"`
Region string `json:"region"`
Address string `json:"address"`
ShortAddress string `json:"shortAddress"`
PostalCode string `json:"postalCode"`
City string `json:"city"`
CountryCode string `json:"countryCode"`
Region string `json:"region"`
}
// SocialProfile is the profile of the resume owner.