Files
auth-service/cmd/main.go

17 lines
316 B
Go

package main
import (
"authorization/internal"
"authorization/internal/handler"
"log"
)
func main() {
handlers := new(handler.Handler)
srv := new(internal.Server)
if err := srv.Run("8080", handlers.InitRoutes()); err != nil {
log.Fatalf("Ошибка запуска сервера: %s", err.Error())
}
}