mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 14:05:13 +00:00
box score scrape service updates batch handle
This commit is contained in:
@@ -39,9 +39,9 @@ import (
|
||||
|
||||
"github.com/nprasad2077/NBA_Go/config"
|
||||
"github.com/nprasad2077/NBA_Go/controllers"
|
||||
_ "github.com/nprasad2077/NBA_Go/docs"
|
||||
"github.com/nprasad2077/NBA_Go/routes"
|
||||
"github.com/nprasad2077/NBA_Go/utils/middleware"
|
||||
_ "github.com/nprasad2077/NBA_Go/docs"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -65,12 +65,11 @@ func main() {
|
||||
// importGameSchedules(db)
|
||||
// log.Println("🎉 Game Imports completed successfully 🏀")
|
||||
|
||||
// importBoxScores(db)
|
||||
// log.Println("🎉 Related Box Score Imports completed successfully 📦")
|
||||
|
||||
importPlayerShotCharts(db)
|
||||
log.Println("🎉 Player Shot Chart Import completed successfully 🎯")
|
||||
importBoxScores(db)
|
||||
log.Println("🎉 Related Box Score Imports completed successfully 📦")
|
||||
|
||||
// importPlayerShotCharts(db)
|
||||
// log.Println("🎉 Player Shot Chart Import completed successfully 🎯")
|
||||
|
||||
log.Println("🏀 ALL Imports completed successfully ✅ 🙌")
|
||||
return
|
||||
@@ -132,4 +131,4 @@ func main() {
|
||||
log.Println("shutting down…")
|
||||
_ = app.Shutdown()
|
||||
log.Println("bye")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user