Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
Functions ¶
func GetMessages ¶
GetMessages retrieves all messages from the database
func GetUserProfile ¶
GetUserProfile retrieves the user's profile data based on user ID
func InitDB ¶
func InitDB()
InitDB installs the neccessary drivers and environment required to run the database.
func InsertMessage ¶
InsertMessage inserts a new message into the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.