Documentation ¶
Overview ¶
db/database.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToDB ¶
ConnectToDB establishes a connection to the PostgreSQL database.
func CreateScoreTable ¶
CreateScoreTable creates the score table in the database.
func CreateUserTable ¶
CreateUserTable creates the user table in the database.
func InsertScore ¶
InsertScore inserts a new score into the database.
Types ¶
Click to show internal directories.
Click to hide internal directories.