use json files to store data/ get css to work

This commit is contained in:
2025-11-17 03:13:46 +07:00
parent c772904165
commit a4b3f8ce06
9 changed files with 131 additions and 55 deletions

View File

@@ -6,13 +6,13 @@ import (
)
type Experience struct {
ID int `json:"id"`
Company string `json:"company"`
EmployeeType string `json:"employee_type"`
Position string `json:"position"`
Tasks []string `json:"tasks"`
Tools string `json:"tools"`
Years int `json:"years"`
ID int `json:"id"`
Company string `json:"company"`
EmployeeType string `json:"employee_type"`
Position string `json:"position"`
Tasks []string `json:"tasks"`
Tools string `json:"tools"`
Years int `json:"years"`
}
type SQLiteExperienceStore struct {
@@ -43,4 +43,4 @@ func (s *SQLiteExperienceStore) GetAllExperiences() ([]Experience, error) {
experience = append(experience, e)
}
return experience, nil
}
}