adapter

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package adapter provides a factory for creating database adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(dbType string, dsn string) (core.Source, error)

NewSource creates a new database adapter based on the specified type. Supported types: "dummy", "mssql", "firebird" (coming soon). Returns an error if the database type is unsupported or initialization fails.

Types

This section is empty.

Directories

Path Synopsis
Package dummy provides a dummy database adapter for testing purposes.
Package dummy provides a dummy database adapter for testing purposes.
Package mssql provides a Microsoft SQL Server database adapter.
Package mssql provides a Microsoft SQL Server database adapter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL