Go lang git http.FileSystem
$ go get github.com/dolfly/httpfs/gitfs
import "github.com/dolfly/httpfs/gitfs"
package main
import (
"github.com/dolfly/httpfs/gitfs"
"net/http"
)
func main() {
fs := gitfs.New("sites.gif", "master")
http.Handle("/", http.FileServer(fs))
http.ListenAndServe(":8080", nil)
}
Simple git webserver