database

package
v0.0.0-...-9506fc3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MysqlConnection

func MysqlConnection() (*sqlx.DB, error)

func PostgreSQLConnection

func PostgreSQLConnection() (*sqlx.DB, error)

Types

type Queries

type Queries struct {
	*queries.UserQueries // load query dari User model
	*queries.BookQueries // load query dari Book model
}

func OpenDBConnection

func OpenDBConnection() (*Queries, error)

Jump to

Keyboard shortcuts

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