getfavicon

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2023 License: MIT Imports: 5 Imported by: 1

README

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)
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromHtml

func FromHtml(html string) (string, error)

func FromUrl

func FromUrl(url string) (string, error)

func Get

func Get(rawURL string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL