You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
|
|
|
|
"dymatrix.de/jspahl/todo/internal/server"
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
gin.SetMode(gin.ReleaseMode)
|
|
|
|
|
|
|
|
server.Setup()
|
|
|
|
err := server.ListenAndServe()
|
|
|
|
log.Fatalf("http: webserver closed unexpected: %s", err)
|
|
|
|
}
|