sql

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, cfg Config) (*sqlx.DB, error)

Types

type Config

type Config struct {
	Username     string `json:"username"`
	Password     string `json:"password"`
	URL          string `json:"url"`
	Port         string `json:"port"`
	DatabaseName string `json:"database_name"`
}

Jump to

Keyboard shortcuts

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