示例#1
0
文件: resume.go 项目: rchargel/goblog
// Pdf creates the pdf version of the resume.
func (c Resume) Pdf() revel.Result {
	resume, _ := domain.NewCV("./public/resources/resume.yml")

	return ResumePDF{resume}
}
示例#2
0
文件: resume.go 项目: rchargel/goblog
// Index the index page for the resume controller.
func (c Resume) Index() revel.Result {
	resume, _ := domain.NewCV("./public/resources/resume.yml")

	tab := "resume"
	return c.Render(resume, tab)
}