Categorygithub.com/gozix/sql/v3
modulepackage
3.0.0
Repository: https://github.com/gozix/sql.git
Documentation: pkg.go.dev

# README

GoZix SQL

License Documentation

Release Build Status Go Report Card Code Coverage

The bundle provide a SQL integration to GoZix application.

Installation

go get github.com/gozix/sql/v3

Dependencies

Configuration example

{
  "sql": {
    "default": {
      "nodes": [
        "postgres://app:[email protected]:5432/app?sslmode=disable"
      ],
      "driver": "postgres",
      "max_open_conns": 10,
      "max_idle_conns": 10,
      "conn_max_lifetime": "10m"
    }
  }
}

Documentation

You can find documentation on pkg.go.dev and read source code if needed.

Questions

If you have any questions, feel free to create an issue.

# Functions

NewBundle create bundle instance.
NewRegistry is registry constructor.

# Constants

BundleName is default definition name.
DEFAULT is default connection name.

# Variables

ErrUnknownConnection is error triggered when connection with provided name not founded.

# Structs

Bundle implements the glue.Bundle interface.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author