package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Feb 3, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Open opens a gorm.DB using the given DSN. If dsn is empty, falls back to a local SQLite file.
Supported DSN formats:
- postgres: postgres://user:pass@host:5432/db?sslmode=disable
- sqlite: sqlite:///path/to.db or file:path.db?cache=shared or :memory:
Source Files
¶
Click to show internal directories.
Click to hide internal directories.