package
0.0.0-20250115020719-a19779a20609
Repository: https://github.com/opensourceways/message-transfer.git
Documentation: pkg.go.dev

# Functions

AutoMigrate automatically migrates the given table.
DAO creates a new daoImpl instance with the specified table name.
DB returns the current database instance.
Init initializes the database connection and configuration.

# Structs

CommonModel is a struct that represents a common model with ID, CreatedAt, and UpdatedAt fields.
Config represents the configuration for PostgreSQL.

# Interfaces

Impl is an interface for database operations.