I try to get a Go webserver running on a raspberry pi (using 1.10.1) I have a go webserver implemented like (StatPiPrivider.go):

package main

import (
        "net/http"
)

func main() {
        http.Handle("/", http.FileServer(http.Dir("./static/templates")))
        http.ListenAndServe(":3000", nil)
}

and the static folder is in the same folder as the StatPiProvider.go file.

In the folder static/templates are 4 html files including one index.html

Everytime I rewuest the server I get a response 404 page not found. Even if I try to get an other html-file I get the same response.

Is it a problem with my implementation or is something on my raspberry wrong.

I run the code with: go run StatPiProvider/StatPiProvider.go