go-resume/structs.go

37 lines
699 B
Go
Raw Normal View History

package main
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