Discover Packages
codeflow.dananglin.me.uk/apollo/spruce
internal
cv
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Dec 6, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CV struct {
Contact map[string ]string `json:"contact,omitempty"`
Education []Education `json:"education"`
Employment []Employment `json:"employment"`
FirstName string `json:"firstName"`
Interests []string `json:"interests"`
JobTitle string `json:"jobTitle"`
LastName string `json:"lastName"`
Links map[string ]string `json:"links,omitempty"`
Skills []Skills `json:"skills"`
Summary []string `json:"summary"`
}
Code generated by jsonschemagen.
DO NOT EDIT.
func NewCV(firstName, lastName, jobTitle string ) CV
NewCV returns a new value of type CV.
NewCVFromFile returns a new CV value from the given JSON file.
type Date struct {
Day int64 `json:"day"`
Month int64 `json:"month"`
Year int64 `json:"year"`
}
Parse parses Date and returns a value of type time.Time.
An error is returned if the parsing fails.
type Duration struct {
End *Date `json:"end,omitempty"`
Present bool `json:"present,omitempty"`
Start Date `json:"start"`
}
After returns true if the Duration's end date is set after the earliest experience date.
An error is returned if the end date is not parsed successfully.
type Education struct {
Details []string `json:"details,omitempty"`
Duration Duration `json:"duration"`
Location string `json:"location"`
Qualification string `json:"qualification"`
School string `json:"school"`
}
type Employment struct {
Company string `json:"company"`
Details []string `json:"details,omitempty"`
Duration Duration `json:"duration"`
JobTitle string `json:"jobTitle"`
Location string `json:"location"`
LocationType string `json:"locationType,omitempty"`
}
type Skills struct {
Category string `json:"category"`
Values []string `json:"values"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.