type Education struct {
ID int `json:"id"`
Title string `json:"title"`
Place string `json:"place"`
StartYear int `json:"start_year"`
EndYear int `json:"end_year"`
}
type Experience struct {
ID int `json:"id"`
Title string `json:"title"`
Place string `json:"place"`
Description string `json:"description"`
StartYear int `json:"start_year"`
EndYear int `json:"end_year"`
}
type Post struct {
ID int `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
Content template.HTML `json:"content"`
AuthorID int `json:"author_id"`
CreatedAt string `json:"created_at"`
Categoria string `json:"categoria"`
}
type Project struct {
ID int `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
ImageURL string `json:"image_url"`
ProjectURL string `json:"project_url"`
}
type Visit struct {
ID int `json:"id"`
Timestamp time.Time `json:"timestamp"`
IP string `json:"ip"`
UserAgent string `json:"user_agent"`
Page string `json:"page"`
Country string `json:"country"`
Region string `json:"region"`
City string `json:"city"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
ISP string `json:"isp"`
}