Compare commits

..

3 Commits

Author SHA1 Message Date
07bb549d44 Merge pull request 'core/http-server' (#1) from core/http-server into main
Reviewed-on: #1
2024-06-08 22:10:35 +00:00
c0ec6dc003 moved scraper logic out of main 2024-06-08 22:12:22 +02:00
994ee9c732 renamed to main 2024-06-08 21:51:45 +02:00

View File

@ -61,7 +61,7 @@ var (
fName string = "jobs.json" fName string = "jobs.json"
) )
func main() { func scrapeJobs() {
file, err := os.Create(fName) file, err := os.Create(fName)
if err != nil { if err != nil {
@ -145,3 +145,7 @@ func main() {
c.Visit(searchString) c.Visit(searchString)
} }
func main() {
scrapeJobs()
}