Commit 9bdfca58 authored by Stefan Scherer's avatar Stefan Scherer
Browse files

Add webserver.go

parent c61948b0
package main
import (
func main() {
http.Handle("/", http.StripPrefix("/", http.FileServer(http.Dir("."))))
if err := http.ListenAndServe(":8000", nil); err != nil {
log.Fatal("ListenAndServe: ", err)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment