Favicon server for Forgery2.
go get github.com/goforgery/favicon
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)
}
go test