dbutil

package
v0.0.0-...-6689b15 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnexpectedDatabaseType = errors.New("unexpected database type")

Functions

func Expand

func Expand(v interface{}) *sqlf.Query

Types

type Type

type Type string
const (
	TypePostgres Type = "postgres"
)

func GetDatabaseType

func GetDatabaseType(dsn string) (Type, error)

Jump to

Keyboard shortcuts

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