feat: suggest a salary expectation when the posting states none
This commit is contained in:
@@ -70,7 +70,8 @@ func renderNote(pkg *Package, url string, now time.Time) string {
|
||||
b.WriteString("## Facts\n")
|
||||
for _, f := range []struct{ label, value string }{
|
||||
{"Posting", url}, {"Company", pkg.Company}, {"Location", pkg.Location}, {"Work mode", pkg.WorkMode},
|
||||
{"Seniority", pkg.Seniority}, {"Salary", pkg.Salary}, {"Posting language", pkg.PostingLanguage},
|
||||
{"Seniority", pkg.Seniority}, {"Salary", pkg.Salary}, {"Salary expectation to write", pkg.SalarySuggestion},
|
||||
{"Posting language", pkg.PostingLanguage},
|
||||
{"Language requirement", pkg.DutchRequirement},
|
||||
} {
|
||||
if v := strings.TrimSpace(f.value); v != "" {
|
||||
|
||||
Reference in New Issue
Block a user