use json files to store data/ get css to work
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user