12 lines
159 B
Go
12 lines
159 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
server := &PlayerServer{&InMemoryPlayerStore{}}
|
||
|
log.Fatal(http.ListenAndServe(":3000", server))
|
||
|
}
|