database

package
v0.0.0-...-8b05c01 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	Conn *gorm.DB
}

DB - the struct that initializes the database

func NewDB

func NewDB() (*DB, error)

NewDB - connects to the DB and returns a new DB struct

Jump to

Keyboard shortcuts

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