63 lines
1.3 KiB
Go
63 lines
1.3 KiB
Go
package main
|
|
|
|
type Resume struct {
|
|
Theme string `yaml:"theme"`
|
|
Meta *Meta `yaml:"meta"`
|
|
Profile *Profile `yaml:"profile"`
|
|
Year string
|
|
}
|
|
|
|
type Profile struct {
|
|
Name string `yaml:"name"`
|
|
Title string `yaml:"title"`
|
|
City string `yaml:"city"`
|
|
Phone string `yaml:"phone"`
|
|
Email string `yaml:"email"`
|
|
Socials Socials `yaml:"socials"`
|
|
Photo string `yaml:"photo"`
|
|
}
|
|
|
|
type job struct {
|
|
Company string `yaml:"company"`
|
|
Location string `yaml:"location"`
|
|
Title string `yaml:"title"`
|
|
Period string `yaml:"period"`
|
|
Description []string `yaml:"description"`
|
|
}
|
|
|
|
type jobs []job
|
|
|
|
type education struct {
|
|
Name string `yaml:"name"`
|
|
City string `yaml:"city"`
|
|
Degree string `yaml:"degree"`
|
|
Period string `yaml:"period"`
|
|
Faculty string `yaml:"faculty"`
|
|
}
|
|
|
|
type educations []education
|
|
|
|
type skill struct {
|
|
Name string `yaml:"name"`
|
|
Level string `yaml:"level"`
|
|
}
|
|
|
|
type skills []skill
|
|
|
|
type Social struct {
|
|
Media string `yaml:"media"`
|
|
UserId string `yaml:"userId"`
|
|
Link string `yaml:"link"`
|
|
}
|
|
|
|
type Socials []Social
|
|
|
|
type Meta struct {
|
|
Language string `yaml:"language"`
|
|
Author string `yaml:"author"`
|
|
Title string `yaml:"title"`
|
|
Description string `yaml:"description"`
|
|
Robots string `yaml:"robots"`
|
|
ThemeColor string `yaml:"theme-color"`
|
|
}
|