ADD: added raw structure
This commit is contained in:
27
backend/cmd/main.go
Normal file
27
backend/cmd/main.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"volleyball/internal/database"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// Initialize the database connection
|
||||
var db = database.New("localhost", 5432, "user", "password", "dbname")
|
||||
db.Connect()
|
||||
|
||||
// Initialize the server
|
||||
// server := server.New(db)
|
||||
// server.Start()
|
||||
|
||||
// Initialize the router
|
||||
// router := router.New()
|
||||
// router.Start()
|
||||
// Initialize the logger
|
||||
// logger := logger.New()
|
||||
// logger.Start()
|
||||
// Initialize the config
|
||||
// config := config.New()
|
||||
|
||||
fmt.Println("Hello, World!")
|
||||
}
|
||||
Reference in New Issue
Block a user