You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
258 B

package main
import (
"texas-poker-bk/internal/conf"
"texas-poker-bk/internal/server"
)
func startServer() {
httpServer := server.NewServer()
err := httpServer.Run(conf.Conf.Http.Addr)
if err != nil {
panic(err)
}
}
func main() {
startServer()
}