shot chart create

This commit is contained in:
Ravi Prasad
2025-05-12 21:06:03 -05:00
parent a1809d3808
commit f0447c2141
10 changed files with 612 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
package routes
import (
"github.com/gofiber/fiber/v2"
"github.com/nprasad2077/NBA_Go/controllers"
"gorm.io/gorm"
)
func RegisterPlayerShotChartRoutes(app *fiber.App, db *gorm.DB) {
api := app.Group("/api/playershotchart")
api.Get("/fetch", controllers.FetchPlayerShotChart(db))
api.Get("/", controllers.GetPlayerShotChart(db))
}