database

package
v0.0.0-...-6ff77f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

database package is responsible for handling the database connection and operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB() (*gorm.DB, error)

ConnectDB connects to the database and returns the connection.

func MigrateDB

func MigrateDB(db *gorm.DB)

MigrateDB migrates the database schema.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL