testhub/main.go

13 lines
209 B
Go

package main
import (
"log"
"net/http"
"git.andreafazzi.eu/andrea/testhub/store"
)
func main() {
server := &PlayerServer{&store.InMemoryPlayerStore{}}
log.Fatal(http.ListenAndServe(":3000", server))
}