package web import ( "net/http" "github.com/markbates/pkger" ) func Serve() { pkger.Stat("github.com/gobuffalo/buffalo:/logo.svg") dir := http.FileServer(pkger.Dir("/public")) http.ListenAndServe(":3000", dir) }