Alternative to "python -m http.server --bind 0 9000"
- Install
serve
$ go install github.com/loganstone/serve@latest
- Run
$ serve
Click! http://localhost:9000
$ serve -h
usage of serve:
-d string
directory to serve (default ".")
-p int
port to listen on (default 9000)
$ go test -v -count=1 ./... # no cached
- Serving directory to http.
- Logging.
- Add something if need.