package
0.0.0-20241018081110-072913901059
Repository: https://github.com/oldmacloud/crud.git
Documentation: pkg.go.dev

# Functions

ConnectDB connects to the database and initializes the global crud.DB instance.
RegisterModel registers the given model to the database.

# Constants

available database drivers.
available database drivers.
available database drivers.
available database drivers.

# Variables

DB is the global database instance.

# Interfaces

Model is the interface for all models.

# Type aliases

BasicModel implements Model interface with an auto increment primary key ID.
No description provided by the author
DBOpener opens a gorm Dialector.