testhub/main.go

14 lines
209 B
Go
Raw Normal View History

2022-05-25 12:04:53 +02:00
package main
import (
"log"
"net/http"
2022-05-25 12:21:32 +02:00
"git.andreafazzi.eu/andrea/testhub/store"
2022-05-25 12:04:53 +02:00
)
func main() {
2022-05-25 12:21:32 +02:00
server := &PlayerServer{&store.InMemoryPlayerStore{}}
2022-05-25 12:04:53 +02:00
log.Fatal(http.ListenAndServe(":3000", server))
}