Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for crawlLoop (0.16 sec)

  1. misc/linkcheck/linkcheck.go

    	crawled     = make(map[string]bool)      // URL without fragment -> true
    	neededFrags = make(map[urlFrag][]string) // URL#frag -> who needs it
    )
    
    var aRx = regexp.MustCompile(`<a href=['"]?(/[^\s'">]+)`)
    
    // Owned by crawlLoop goroutine:
    var (
    	linkSources = make(map[string][]string) // url no fragment -> sources
    	fragExists  = make(map[urlFrag]bool)
    	problems    []string
    )
    
    func localLinks(body string) (links []string) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
Back to top