forked from boyska/feedpanel
16 lines
268 B
Go
16 lines
268 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||
|
w.WriteHeader(501)
|
||
|
fmt.Fprintf(w, "Nothing has been implemented. Just cross your fingers.\n")
|
||
|
})
|
||
|
|
||
|
http.ListenAndServe(":8000", nil)
|
||
|
}
|