schema

package
v0.0.0-fe394e24adc8f04... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateRange

type DateRange struct {
	Start string `yaml:"start"`
	End   string `yaml:"end"`
}

type EducationSpec

type EducationSpec struct {
	Dates       *DateRange `yaml:"dates"`
	Degree      string     `yaml:"degree"`
	Institution string     `yaml:"institution"`
	Location    string     `yaml:"location"`
	Notes       []string   `yaml:"notes"`
}

type EmploymentSpec

type EmploymentSpec struct {
	Dates      *DateRange `yaml:"dates"`
	Title      string     `yaml:"title"`
	Company    string     `yaml:"company"`
	Location   string     `yaml:"location"`
	Summary    string     `yaml:"summary"`
	Technology []string   `yaml:"technology"`
	Notes      []string   `yaml:"notes"`
}

type ExperienceSpec

type ExperienceSpec struct {
	Title string   `yaml:"title"`
	Items []string `yaml:"items"`
}
type Link struct {
	Text string `yaml:"text"`
	Href string `yaml:"href"`
}

type PersonalInfoSpec

type PersonalInfoSpec struct {
	Name     string `yaml:"name"`
	Location string `yaml:"location"`
	Phone    string `yaml:"phone"`
	Email    *Link  `yaml:"email"`
	Website  *Link  `yaml:"website"`
	Github   *Link  `yaml:"github"`
}

type ProjectSpec

type ProjectSpec struct {
	Title       string   `yaml:"title"`
	Link        *Link    `yaml:"link"`
	Description string   `yaml:"description"`
	Technology  []string `yaml:"technology"`
}

type ResumeSpec

type ResumeSpec struct {
	PersonalInfo *PersonalInfoSpec `yaml:"personal"`
	Employment   []*EmploymentSpec `yaml:"employment"`
	Education    []*EducationSpec  `yaml:"education"`
	Experience   []*ExperienceSpec `yaml:"experience"`
	Projects     []*ProjectSpec    `yaml:"projects"`
}

func LoadResume

func LoadResume(path string) (*ResumeSpec, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL