Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Default *gorm.DB
)
Functions ¶
func Init ¶
func Init() (err error)
Init initializes the default PostgreSQL connection. It checks if PostgreSQL is enabled and selected as the default database. If the connection is successful, it initializes the database and returns nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.