INSTALL
go get github.com/glennliao/getfavicon
USE
func TestGet(t *testing.T) {
favicon, err := getfavicon.Get("https://www.github.com/")
if err != nil {
panic(err)
}
fmt.Println(favicon)
}
get favicon url from url/html
go get github.com/glennliao/getfavicon
func TestGet(t *testing.T) {
favicon, err := getfavicon.Get("https://www.github.com/")
if err != nil {
panic(err)
}
fmt.Println(favicon)
}
get favicon url from url/html
MIT License