Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit d249b22

Browse files
committed
add link property to cv modal
1 parent 8dc3846 commit d249b22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/cv.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
type CV struct {
2222
Title string `json:"-"` // Not supported yet
2323
ReferenceNumber string `json:"referenceNumber" description:"The reference number (ID) of this CV on the site it was scraped from. We use this to track duplicated CVs"`
24+
Link string `json:"link" description:"A link to the page on the site where this cv was found"`
2425
CreatedAt *jsonHelpers.RFC3339Nano `json:"createdAt,omitempty"`
2526
LastChanged *jsonHelpers.RFC3339Nano `json:"lastChanged,omitempty"`
2627
Educations []Education `json:"educations,omitempty"`
@@ -333,6 +334,7 @@ func ExampleCV() *CV {
333334
return &CV{
334335
Title: "Pilot with experience in farming simulator 2020",
335336
ReferenceNumber: "4455-PIETER",
337+
Link: "https://website-this-cv-came-from.ninja/person/4455",
336338
CreatedAt: now,
337339
LastChanged: now,
338340

0 commit comments

Comments
 (0)