fix(breaking): change technologies to skills

This commit is contained in:
Dan Anglin 2023-02-23 19:53:57 +00:00
parent ac1139b6d1
commit 38218f5811
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 14 additions and 14 deletions

4
cv.go
View file

@ -7,7 +7,7 @@ type Cv struct {
Contact Contact `json:"contact"`
Links Links `json:"links"`
Summary []string `json:"summary"`
Technologies []Technologies `json:"technologies"`
Skills []Skills `json:"skills"`
Employment []Experience `json:"employment"`
Education []Experience `json:"education"`
Interests []string `json:"interests"`
@ -24,7 +24,7 @@ type Links struct {
GitHub string `json:"github"`
}
type Technologies struct {
type Skills struct {
Category string `json:"category"`
Values []string `json:"values"`
}

View file

@ -15,7 +15,7 @@
"Natus modi culpa at vel officiis debitis fuga delectus, quo pariatur dicta eum molestiae et, sed maxime delectus quasi enim quasi alias quibusdam.",
"Facere sequi tempora voluptates maxime velit explicabo sed."
],
"technologies": [
"skills": [
{
"category": "Programming Languages",
"values": [ "Go", "Python", "Javascript", "Typescript" ]

View file

@ -18,8 +18,8 @@
\section{SKILLS SUMMARY}
\starttabulate[|w(0.3\textwidth)lB|lp(0.7\textwidth)|]
<<$lenTech := len .Technologies>>
<<range $i, $tech := .Technologies>>
<<$lenTech := len .Skills>>
<<range $i, $tech := .Skills>>
<<$lenValues := len $tech.Values>>
\NC <<$tech.Category>> \NC <<range $j, $val := $tech.Values>><<$val>><<if notLastElement $j $lenValues>>, <<end>><<end>>\NC\NR
<<if notLastElement $i $lenTech>>\TB[1mm]<<end>>