ss/static.go

11 lines
120 B
Go
Raw Normal View History

package bond
import (
"net/http"
)
func Static(pth string) Handler {
return Wrap{http.FileServer(http.Dir(pth))}
}