This is a simple Go application that serves static HTML files.
- Clone the repository:
git clone https://github.com/ismaeleBo/go-simple-httpserver
- Navigate into the project directory:
cd go-simple-httpserver
Place your HTML files in the static directory.
- Build and run the application:
go build main.go
go run main.go
By default, the server runs on port 8080. You can access your HTML files by navigating to http://localhost:8080 in your web browser.
Feel free to contribute to this project by forking the repository and submitting pull requests. Bug reports and feature requests are welcome too!