loginToTemplate/main.go
2022-03-01 11:55:49 -05:00

17 lines
259 B
Go

package main
import (
"log"
"net/http"
)
const hostAndPort = ":5000"
func main() {
server := NewLoginServer(NewInMemoryUserStore())
if err := http.ListenAndServe(hostAndPort, server); err != nil {
log.Fatalf("could not listen on port %v", err)
}
}