Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resume ¶
type Resume struct { Basics basics `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"` }
Resume holds the information according to schema described in https://jsonresume.org/schema/
type ResumeValidator ¶
type ResumeValidator struct { Resume Resume // contains filtered or unexported fields }
ResumeValidator contains the data, validator and populates resume on validation
func (*ResumeValidator) IsValid ¶
func (rv *ResumeValidator) IsValid() bool
IsValid return only a boolean indicating if the provided resume is valid
func (*ResumeValidator) Validate ¶
func (rv *ResumeValidator) Validate() error
Validate attempts to validate json resume either from file or data you provided using WithData/WithFile
func (*ResumeValidator) WithData ¶
func (rv *ResumeValidator) WithData(data []byte) *ResumeValidator
WithData sets the bytes that will be validated
func (*ResumeValidator) WithFile ¶
func (rv *ResumeValidator) WithFile(filepath string) *ResumeValidator
WithFile sets the filepath that will be validated
Click to show internal directories.
Click to hide internal directories.