Documentation
¶
Index ¶
- func AddRandomQueryParams(baseURL string) string
- func ExtractNumericValue(salaryStr string) int
- func FetchTopPayingCompanies(debug bool) error
- func FetchTopPayingCompaniesFromLevelsFyi(debug bool) (map[string]bool, map[string]string, error)
- func FindSalaryInText(text string) string
- func FormatSalary(salary string) string
- func GetSalaryFromLevelsFyi(companyName string, debug bool) (string, error)
- func IsTopPayingCompany(company string, debug bool) bool
- func IsValidJob(title, location, titleKeyword string, ...) bool
- func IsValidSource(source string) bool
- func NormalizeCompanyName(name string) string
- func NormalizeGreenhouseURL(jobURL string) string
- func PrintTopPayingCompanies(debug bool) error
- func ProcessWithLevelsFyi(jobs []models.SalaryInfo, debug bool)
- func RandomString(n int) string
- type CacheData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRandomQueryParams ¶
AddRandomQueryParams adds random query parameters to a URL to avoid caching
func ExtractNumericValue ¶
ExtractNumericValue extracts numeric value from a salary string
func FetchTopPayingCompanies ¶
FetchTopPayingCompanies fetches the list of top paying companies from levels.fyi This is the main function that will be called by other parts of the code
func FetchTopPayingCompaniesFromLevelsFyi ¶
FetchTopPayingCompaniesFromLevelsFyi fetches the list of top paying companies from levels.fyi using multiple URLs for different software engineering levels
func FindSalaryInText ¶
FindSalaryInText attempts to find salary information in text using common patterns
func FormatSalary ¶
FormatSalary formats a numeric salary as a string with proper formatting
func GetSalaryFromLevelsFyi ¶
GetSalaryFromLevelsFyi fetches salary data from levels.fyi for a company
func IsTopPayingCompany ¶
IsTopPayingCompany checks if a company is in the list of top paying companies
func IsValidJob ¶
func IsValidJob(title, location, titleKeyword string, remoteOnly, internshipsOnly, topPayOnly bool, company string) bool
IsValidJob checks if a job matches the search criteria
func IsValidSource ¶
IsValidSource checks if the source is supported
func NormalizeCompanyName ¶
NormalizeCompanyName normalizes a company name for comparison
func NormalizeGreenhouseURL ¶
NormalizeGreenhouseURL normalizes Greenhouse job URLs
func PrintTopPayingCompanies ¶
PrintTopPayingCompanies prints the list of top paying companies
func ProcessWithLevelsFyi ¶
func ProcessWithLevelsFyi(jobs []models.SalaryInfo, debug bool)
ProcessWithLevelsFyi enriches job listings with Levels.fyi salary data
func RandomString ¶
RandomString generates a random string of specified length