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.
16 lines
273 B
16 lines
273 B
|
8 years ago
|
package main
|
||
|
|
|
||
|
|
import (
|
||
|
|
"log"
|
||
|
|
"net/http"
|
||
|
|
|
||
|
|
"dev.fxaguessy.fr/fx/fizzbuzz-lbc/fizzbuzz"
|
||
|
|
)
|
||
|
|
|
||
|
|
func main() {
|
||
|
|
hostPort := ":8080"
|
||
|
|
server := &fizzbuzz.Server{}
|
||
|
|
log.Printf("Starting fizzbuzz server on %s", hostPort)
|
||
|
|
log.Fatal(http.ListenAndServe(hostPort, server.Routes()))
|
||
|
|
}
|