Documentation
¶
Overview ¶
Package assetdb provides a service to interacting with an asset database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(dbType repository.DBType, dsn string) *assetDB
New creates a new assetDB instance. It initializes the asset database with the specified database type and DSN.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
migrations
|
|
|
postgres
Integrates with migration tools recognizing the standard "migrate up" and "migrate down" annotations, simplifying asset database schema management and rollbacks in Postgres.
|
Integrates with migration tools recognizing the standard "migrate up" and "migrate down" annotations, simplifying asset database schema management and rollbacks in Postgres. |
|
sqlite3
Integrates with migration tools recognizing the standard "migrate up" and "migrate down" annotations, simplifying asset database schema management and rollbacks in SQLite3.
|
Integrates with migration tools recognizing the standard "migrate up" and "migrate down" annotations, simplifying asset database schema management and rollbacks in SQLite3. |
|
Package repository provides a database repository implementation for managing assets and relations.
|
Package repository provides a database repository implementation for managing assets and relations. |
|
Package types provides types that represent models in databases but are not tied to a specific database implementation.
|
Package types provides types that represent models in databases but are not tied to a specific database implementation. |
Click to show internal directories.
Click to hide internal directories.