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

22
cv.go
View file

@ -1,16 +1,16 @@
package main
type Cv struct {
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
JobTitle string `json:"jobTitle"`
Contact Contact `json:"contact"`
Links Links `json:"links"`
Summary []string `json:"summary"`
Technologies []Technologies `json:"technologies"`
Employment []Experience `json:"employment"`
Education []Experience `json:"education"`
Interests []string `json:"interests"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
JobTitle string `json:"jobTitle"`
Contact Contact `json:"contact"`
Links Links `json:"links"`
Summary []string `json:"summary"`
Skills []Skills `json:"skills"`
Employment []Experience `json:"employment"`
Education []Experience `json:"education"`
Interests []string `json:"interests"`
}
type Contact struct {
@ -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>>