parser

package
v0.0.0-...-461475a Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration struct {
	From string `json:"from"`
	To   string `json:"to"`
	Time string `json:"time"`
}

type Education

type Education struct {
	Duration Duration `json:"duration"`
	Name     string   `json:"name"`
	Degree   string   `json:"degree"`
	Field    string   `json:"field"`
	Activity string   `json:"activity"`
}

type Experience

type Experience struct {
	Duration    Duration `json:"duration"`
	Position    string   `json:"position"`
	CompanyName string   `json:"company_name"`
	Description string   `json:"description"`
}

type Honor

type Honor struct {
	Name string `json:"name"`
}

type PageIndex

type PageIndex int
const (
	IndexNone PageIndex = iota
	IndexName
	IndexHeadline
	IndexEmail
	IndexBeginSummary
	IndexSummary
	IndexBeginExperience
	IndexTitleExperience
	IndexContentExperience
	IndexBeginEducation
	IndexEducationName
	IndexEducationDescription
	IndexBeginEducationActivity
	IndexEducationActivity
	IndexBeginHonor
	IndexHonor
	IndexEnd
)

type Parser

type Parser struct {
	Seeker        PageIndex
	ResumeProfile ResumeProfile
}

type ResumeProfile

type ResumeProfile struct {
	Name        string       `json:"name"`
	Headline    string       `json:"headline"`
	Email       string       `json:"email"`
	Summary     string       `json:"summary"`
	Experiences []Experience `json:"experiences"`
	Educations  []Education  `json:"educations""`
	Honors      []Honor      `json:"honors"`
}

func ParsePDF

func ParsePDF(path string) (ResumeProfile, error)

Jump to

Keyboard shortcuts

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