This is a simple example of a basic HTTP file server in Go.
go build fileserve.go
By default, the application will serve the current working directory on port 8080. The directory and port can be overridden with arguments on the command line.
./fileserve [-d path/to/directory] [-p port]