Skip to content

Instantly share code, notes, and snippets.

@cedarmora
cedarmora / crawler.go
Created June 12, 2018 21:56
A Tour of Go, Exercise: Web Crawler
// Inspired by https://gist.github.com/Trii/382723ae871fca080333697142dcdcc1
package main
import (
"fmt"
"sync"
)
type Fetcher interface {