Add auth with goth

This commit is contained in:
2024-07-13 09:59:36 -04:00
parent 5146fd4ba7
commit 992ba29848
5 changed files with 180 additions and 6 deletions

View File

@@ -3,12 +3,15 @@ package main
import (
"fmt"
"gothtest/internal/server"
"gothtest/internal/auth"
)
func main() {
server := server.NewServer()
auth.NewAuth()
fmt.Println("Server start")
err := server.ListenAndServe()
if err != nil {
panic(fmt.Sprintf("cannot start server: %s", err))