Skip to content

goforgery/favicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

favicon

Build Status

Favicon server for Forgery2.

Install

go get github.com/goforgery/favicon

Use

Caches and serves a favicon.ico file if found in the directory where Forgery2 is started.

package main

import (
	"github.com/goforgery/favicon"
	"github.com/goforgery/forgery2"
)

func main() {
	app := f.CreateApp()
	app.Use(favicon.Create())
	app.Listen(3000)
}

Test

go test

About

Favicon service for Forgery2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages