database

package
v0.0.0-...-08ba271 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *gorm.DB

Client is gorm database client.

Functions

func Connect

func Connect() *gorm.DB

Connect is used to create the database client.

func ConnectForTests

func ConnectForTests() *gorm.DB

ConnectForTests is used to create mock database client in memory.

Types

This section is empty.

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

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