dev mode returned local

This commit is contained in:
Ravi Prasad
2025-07-03 21:09:09 -05:00
parent 31dfe054b5
commit fbae36e06e
7 changed files with 55 additions and 30 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
// @title NBA_Go API
// @version 1.0
// @description Stats service, now with public access!
// @schemes https
// //@schemes https
// @schemes http
// @BasePath /
//
// @tag.name PlayerTotals
@@ -45,7 +46,7 @@ import (
func main() {
// ——— One-off import-data mode ———
if len(os.Args) > 1 && os.Args[1] == "import-data" {
// Run all migrations + import steps exactly once
// Run all DB migrations + import steps exactly once
db := config.InitDB(true)
importPlayerAdvanced(db)