Golang HTTP File Server Link to heading

Simplest Go HTTP file server

package main

import (
	"fmt"
	"net/http"
)

func main() {
	fmt.Println("Server is running on port 8080")
	http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))
}